Skip to content

Fix #965 - Make Flapping Ignore Commanded Stops - #1005

Open
BrainBot wants to merge 1 commit into
circus-tent:masterfrom
BrainBot:965-flapping-fix
Open

Fix #965 - Make Flapping Ignore Commanded Stops#1005
BrainBot wants to merge 1 commit into
circus-tent:masterfrom
BrainBot:965-flapping-fix

Conversation

@BrainBot

@BrainBot BrainBot commented Sep 7, 2016

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

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