Skip to content

Add max total crash limit to stop relaunching persistently failing pr…#1436

Open
kezhangMS wants to merge 1 commit intomicrosoft:mainfrom
kezhangMS:totalCrashLimit
Open

Add max total crash limit to stop relaunching persistently failing pr…#1436
kezhangMS wants to merge 1 commit intomicrosoft:mainfrom
kezhangMS:totalCrashLimit

Conversation

@kezhangMS
Copy link
Copy Markdown
Member

…ocesses

The existing crash protection only stops relaunching a process if it
exits more than 10 times within 60 seconds. This misses the case where
a process fails at a slower but persistent rate (e.g. 2 times per
minute), which causes it to be relaunched indefinitely.

Add a total crash counter (max 20) alongside the existing per-minute
rolling window so that persistently failing processes are eventually
stopped regardless of crash rate.

…ocesses

The existing crash protection only stops relaunching a process if it
  exits more than 10 times within 60 seconds. This misses the case where
  a process fails at a slower but persistent rate (e.g. 2 times per
  minute), which causes it to be relaunched indefinitely.

  Add a total crash counter (max 20) alongside the existing per-minute
  rolling window so that persistently failing processes are eventually
  stopped regardless of crash rate.
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.

1 participant