Skip to content

Conversation

@dtcristo
Copy link
Contributor

@dtcristo dtcristo commented Mar 4, 2024

Follow-up to #340.

Allow bulk enqueue of multiple different job classes and differing job options in a single .bulk_enqueue block. Each job can now differ by job class, queue, priority, run at and tags (in addition to args and kwargs).

@dtcristo dtcristo force-pushed the dtcristo/bulk-enqueue-improvements branch from 771aba0 to 6a803fa Compare March 5, 2024 00:42
@dtcristo
Copy link
Contributor Author

dtcristo commented Mar 5, 2024

I rebased this PR on top of #421 as CI was broken due to Bundler version.

Copy link
Member

@ZimbiX ZimbiX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Thanks for this :D

dtcristo added 2 commits March 6, 2024 10:34
[Bundler 2.5 dropped support for Ruby 2.7](https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.0).
Since we are testing with Ruby 2.7, we should pin the version of Bundler
to 2.4.x since this is the last version that's compatible with 2.7.
Prepare spec for bulk enqueue refactor to support bulk enqueue of jobs
with differing job class and job options.
@dtcristo dtcristo force-pushed the dtcristo/bulk-enqueue-improvements branch from 6a803fa to 63f5817 Compare March 5, 2024 23:44
Allow bulk enqueue of multiple different job classes and differing job
options in a single `.bulk_enqueue` block. Each job can now differ by
job class, queue, priority, run at and tags (in addition to args and
kwargs).
@dtcristo dtcristo force-pushed the dtcristo/bulk-enqueue-improvements branch from 63f5817 to 4835936 Compare March 6, 2024 00:31
@dtcristo dtcristo requested a review from ZimbiX March 6, 2024 01:12
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

Successfully merging this pull request may close these issues.

2 participants