Skip to content

Explicitly drain events when gossip/heartbeat is disabled. - #2823

Closed
bryanhelmig wants to merge 1 commit into
celery:masterfrom
zapier:without-gossip-drain-fix
Closed

bryanhelmig wants to merge 1 commit into
celery:masterfrom
zapier:without-gossip-drain-fix

Conversation

@bryanhelmig

Copy link
Copy Markdown
Contributor

This is the fix for issue #1847 - kudos to @sabw8217 who's fix I copied verbatim.

AFAIK this bug exists because usually you can rely on the new gossip mechanism to implicitly drain events even if you've grabbed your prefetch limit on startup - in the absence of gossip draining the events we should do it explicitly instead.

The included test case doesn't illustrate this at all though. I've done lots of local tests.

@bryanhelmig

Copy link
Copy Markdown
Contributor Author

We're planning to port this back to 3.1.18 and push to production - happy to report back.

@ask

ask commented Sep 25, 2015

Copy link
Copy Markdown
Contributor

Nice work @sabw8217, @bryanhelmig!

Merged into master and 3.1, so please test to make sure it's working

@ask ask closed this Sep 25, 2015
@ask

ask commented Sep 25, 2015

Copy link
Copy Markdown
Contributor

@bryanhelmig

Copy link
Copy Markdown
Contributor Author

I think perhaps @sabw8217 should be on the contributor list if they wish - I doubt I can appropriately claim such any such title. ;-)

@bryanhelmig

Copy link
Copy Markdown
Contributor Author

Also @ask you might close the related #1847.

@mverrilli

Copy link
Copy Markdown

Wow thanks so much for this fix. This exactly explains the behavior I've run into. I'll be testing this out this week.

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.

3 participants