Commit b403bb9
fix: prevent worker starvation after max_execution_time restarts
Disable the execution timer in frankenphp_worker_request_shutdown() to
prevent stale timers from firing between requests. Also fix evaluation
order in frankenphp_handle_request() to check for shutdown before calling
frankenphp_worker_request_startup().
Fixes #2205
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b02d99a commit b403bb9
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
388 | 394 | | |
389 | 395 | | |
390 | 396 | | |
| |||
667 | 673 | | |
668 | 674 | | |
669 | 675 | | |
670 | | - | |
671 | | - | |
672 | | - | |
| 676 | + | |
673 | 677 | | |
674 | 678 | | |
675 | 679 | | |
| |||
0 commit comments