Skip to content

Fix channel scoping in chain.SkipIfStillRunning#263

Closed
brunotm wants to merge 1 commit intorobfig:masterfrom
brunotm:brunotm.fix-SkipIfStillRunning
Closed

Fix channel scoping in chain.SkipIfStillRunning#263
brunotm wants to merge 1 commit intorobfig:masterfrom
brunotm:brunotm.fix-SkipIfStillRunning

Conversation

@brunotm
Copy link

@brunotm brunotm commented Dec 12, 2019

This change fixes the scoping of the channel used for skipping jobs in SkipIfStillRunning middleware, which led to incorrectly skipping all-1 tasks added at the same time.

robfig pushed a commit that referenced this pull request Jan 4, 2020
It was an error in channel scoping that was identified in pull #263.

This adds a unit test to identify that issue and verify the fix.
@robfig
Copy link
Owner

robfig commented Jan 4, 2020

Thank you for finding and fixing this, what a bad bug! I wrote a unit test to verify the fix, pushed it as ccba498, and tagged v3.0.1.

@robfig robfig closed this Jan 4, 2020
haiheipijuan pushed a commit to haiheipijuan/cron that referenced this pull request Jun 15, 2021
It was an error in channel scoping that was identified in pull robfig#263.

This adds a unit test to identify that issue and verify the fix.
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