-
Notifications
You must be signed in to change notification settings - Fork 285
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
Switch to rabbitmq based task queue #2199
Conversation
- Move worker to servicelayer - Use pytest to run tests
aleph/worker.py
Outdated
def op_index(collection_id, batch, worker=None): | ||
collection = Collection.by_id(collection_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you still ensuring that all the documents in the whole batch are from the same collection? I would consider sending the collection as a dict as part of the indexing requests pretty soon after making this change, I think it'll be a perf game changer...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pudo So we want to batch indexing tasks irrespective of collection?
No description provided.