-
-
Notifications
You must be signed in to change notification settings - Fork 460
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
[14.0] [ADD] queue_job_batch_size #566
base: 14.0
Are you sure you want to change the base?
Conversation
b46ee67
to
4c78c0e
Compare
4c78c0e
to
210f952
Compare
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.
This generally feels like it should be an improvement to queue_job_batch, not its own module. I'm setting up a local test environment today and will report back with observations.
channel=None, | ||
identity_key=None, | ||
batch_size=None, | ||
batch_count=None, |
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.
This seems straightforward enough, but the corresponding change to def delayable
is missing.
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
@paradoxxxzero shall we close this one in favor of #658 ? |
This module allows to seemlessly split a big job into smaller jobs.
It uses
queue_job_batch
to group the created jobs into a batch.Example:
This will create 34 jobs, each one copying 30 partners (except the last one which will copy 10) and will group them into a batch.
Instead of
batch_size
, one can also usebatch_count
to specify the number of batches to create instead.