Repository navigation
Commit 97a8e1c
committed
Add timeout for recorder stop retries
Introduce a configurable `RECORD_STOP_RETRY_TIMEOUT` in `config.py` and enforce it in the recording stop worker. The stop loop now tracks cumulative wait time, logs a timeout error, and raises a runtime error if recorders cannot be stopped within the configured limit, preventing indefinite retry loops during shutdown.1 parent 68e6e17 commit 97a8e1c
2 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
1652 | 1653 | | |
1653 | 1654 | | |
1654 | 1655 | | |
| 1656 | + | |
1655 | 1657 | | |
1656 | 1658 | | |
1657 | 1659 | | |
1658 | 1660 | | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
1659 | 1665 | | |
1660 | 1666 | | |
1661 | 1667 | | |
| |||
0 commit comments