Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up Janitors to ensure they broadcast to all hooks #19

Merged
merged 2 commits into from
Apr 19, 2016
Merged

Conversation

whitfin
Copy link
Owner

@whitfin whitfin commented Apr 19, 2016

This fixes #17. Basically the Janitors were only reporting to the Stats hook (for whatever reason). This simply tweaks them to broadcast to all attached hooks via the worker.

I have also included a small :broadcast hook into the worker module to make it easier to jump messages straight to hooks. This adds an extra message to the worker but it should be extremely fast (bar any sync hooks).

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 384923f on issue-17 into 6f41471 on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 384923f on issue-17 into 6f41471 on master.

@whitfin whitfin merged commit 6b8f55d into master Apr 19, 2016
@whitfin whitfin deleted the issue-17 branch April 19, 2016 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Post purge hooks?
2 participants