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

Run the indexer as a background job when running in local Cognita mode #319

Closed
innoavator opened this issue Sep 5, 2024 · 0 comments
Closed

Comments

@innoavator
Copy link
Contributor

innoavator commented Sep 5, 2024

Currently when you create a collection locally, indexing is triggered automatically by frontend and it runs in the same process. As a result, collection creation blocks all other API calls
Hence we would want indexing to start as a separate background process that does not block the collection creation.

Starting point is:

  • ingest api in backend/server/routers/collection.py and trace back the necessary files from there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants