Skip to content

Clarify that concurrency + bulk enqueuing is a perf caveat, not unsafe - #785

Merged
rosa merged 2 commits into
rails:mainfrom
Gnirt:docs-bulk-enqueue-concurrency-wording
Aug 18, 2026
Merged

Clarify that concurrency + bulk enqueuing is a perf caveat, not unsafe#785
rosa merged 2 commits into
rails:mainfrom
Gnirt:docs-bulk-enqueue-concurrency-wording

Conversation

@Gnirt

@Gnirt Gnirt commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Swapped "is not a good idea" → "has no benefit" so readers don't come away thinking concurrency limits might be violated under bulk enqueuing.

The README currently says mixing concurrency controls with perform_all_later "is not a good idea". That phrasing reads as a correctness/safety warning, but the very same sentence explains the limits are respected — concurrency-controlled jobs are just enqueued one by one internally. The only real consequence is losing the bulk-enqueue speedup for those jobs.

Gnirt and others added 2 commits August 6, 2026 17:56
"is not a good idea" reads as a correctness warning; limits are in fact
always respected, so the only downside is losing the bulk speedup.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@rosa

rosa commented Aug 18, 2026

Copy link
Copy Markdown
Member

Good call, thanks @Gnirt!

@rosa
rosa merged commit ef29b5d into rails:main Aug 18, 2026
57 of 58 checks passed
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