Nick Craig-Wood
3a902dd1a0
pacer: fix deadlock between pacer token and --max-connections
...
It was possible in the presence of --max-connections and recursive
calls to the pacer to deadlock it leaving all connections waiting on
either a max connection token or a pacer token.
This fixes the problem by making sure we return the pacer token on
schedule if we take it.
This also short circuits the pacer token if sleepTime is 0.
2026-02-17 16:35:26 +00:00
..
2024-04-18 16:53:55 +02:00
2025-02-28 11:31:14 +00:00
2025-01-22 11:56:05 +00:00
2025-01-09 17:32:09 +00:00
2025-02-28 11:31:14 +00:00
2025-11-12 12:22:04 +00:00
2025-10-27 13:34:58 +00:00
2023-07-16 10:09:25 +01:00
2026-01-08 12:05:37 +00:00
2023-09-07 15:57:45 +01:00
2025-09-15 12:45:57 +01:00
2021-10-20 22:56:19 +02:00
2024-02-22 11:13:54 +00:00
2025-10-22 18:37:58 +01:00
2024-09-20 18:51:08 +02:00
2025-02-26 18:00:58 +00:00
2025-11-17 16:52:30 +00:00
2024-04-18 16:53:55 +02:00
2025-02-28 11:31:14 +00:00
2025-07-08 12:08:14 +02:00
2025-09-15 12:45:57 +01:00
2025-08-07 12:45:44 +01:00
2025-10-10 20:10:21 +02:00
2026-02-17 16:35:26 +00:00
2024-04-18 16:53:55 +02:00
2026-01-18 20:48:33 +01:00
2026-01-08 16:31:11 +00:00
2025-02-28 11:31:14 +00:00
2025-02-28 11:31:14 +00:00
2024-01-03 12:21:08 +00:00
2026-01-08 12:05:37 +00:00
2025-10-21 18:56:06 +01:00
2025-02-28 11:31:14 +00:00
2024-09-06 17:04:18 +01:00
2025-01-08 17:35:00 +01:00
2026-01-30 20:53:56 +00:00
2022-06-13 21:13:50 +02:00