Repository navigation
Conversation
smudge
force-pushed
the
smudge/replenish-by-default
branch
from
December 1, 2026 18:31
7ae648e to
e05ecc8
Compare
smudge
force-pushed
the
smudge/replenish-by-default
branch
from
December 1, 2026 18:42
e05ecc8 to
e2af0a3
Compare
smudge
force-pushed
the
smudge/replenish-by-default
branch
2 times, most recently
from
December 1, 2026 18:59
a3e7fca to
03ea46f
Compare
smudge
marked this pull request as ready for review
December 1, 2026 19:59
smudge
force-pushed
the
smudge/replenish-by-default
branch
2 times, most recently
from
December 1, 2026 21:42
d15eff1 to
f091907
Compare
smudge
changed the base branch from
smudge/free-thread-spacing
to
smudge/worker-sleep-event
December 1, 2026 21:54
smudge
force-pushed
the
smudge/replenish-by-default
branch
2 times, most recently
from
December 2, 2026 16:17
f187de3 to
ccfbb36
Compare
This turns on `replenish_threads`, as the v5.0 reminder test requires. To keep the 4.x behaviour, set `Delayed::Worker.replenish_threads = false`. It also drops the reminder to default `min_reserve_interval` to a positive value, which stays at 0. Since a replenishing worker's reserves are now spaced out by its busy threads, it only reserves again right away once all of its threads are free, just as a batching worker did once its batch finished. This bumps the version to 5.0.0.
smudge
force-pushed
the
smudge/replenish-by-default
branch
from
December 3, 2026 19:27
ccfbb36 to
a2dec42
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This turns on
replenish_threads, as the v5.0 reminder test requires.It also drops the reminder to default
min_reserve_intervalto a positive value, which stays at 0. Since a replenishing worker's reserves are now spaced out by its busy threads, it only reserves again right away once all of its threads are free, just as a batching worker did once its batch finished.To keep the 4.x behaviour, set
Delayed::Worker.replenish_threads = false.