Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/files/:file_id/convert endpoint should make use of job model #4

Open
sergiofenoll opened this issue May 24, 2024 · 0 comments
Open

Comments

@sergiofenoll
Copy link
Member

Note to self: link KAS ticket here if ever created

The file conversion can potentially take a long time because:

  1. We're dealing with files, which can potentially be huge
  2. We're making an outbound network request

If a frontend initiates the conversion process, the call itself might time out because it takes too long.
We should work with jobs in this service so that the process can be tracked and polled by the frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant