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 #965 - Make Flapping Ignore Commanded Stops #1005

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BrainBot
Copy link

@BrainBot BrainBot commented Sep 7, 2016

Reap messages now included a commanded reap argument that is True when a process has been reaped because of a Circus command. Processes that have been reaped because they've been detected as dead or killed have the argument set to False. This allows the flapping plugin to detect when a process has been stopped intentionally and not automatically trigger a restart.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 62.77% when pulling 2b0e702 on BrainBot:965-flapping-fix into 3d9f7ad on circus-tent:master.

Adding commanded_reap flag to the reap message and setting flapping to
only trigger when the flag is True. The flag is false when reaping a
processes that was detected dead.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 62.77% when pulling 89741ec on BrainBot:965-flapping-fix into 3d9f7ad on circus-tent:master.

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