Commit e48c9bf
committed
fix: move restartAttempt reset from onStarted to onReady
A crash-looping process that spawns successfully but exits immediately
would reset restartAttempt to 0 in onStarted before scheduleRestart
runs, defeating the exponential backoff. Moving the reset to onReady
ensures the backoff counter only resets once the backend is confirmed
healthy via the HTTP readiness check.1 parent c9345f4 commit e48c9bf
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | 425 | | |
430 | 426 | | |
431 | 427 | | |
432 | 428 | | |
433 | 429 | | |
434 | 430 | | |
| 431 | + | |
435 | 432 | | |
436 | 433 | | |
437 | 434 | | |
| |||
0 commit comments