Nick Craig-Wood
2887806f33
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-03 16:40:54 +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
2024-08-15 22:08:34 +01:00
2023-07-16 10:09:25 +01:00
2024-08-15 22:08:34 +01:00
2023-09-07 15:57:45 +01:00
2025-06-04 17:24:07 +01:00
2021-10-20 22:56:19 +02:00
2024-02-22 11:13:54 +00:00
2023-03-24 20:40:52 +00:00
2024-09-20 18:51:08 +02:00
2025-02-26 18:00:58 +00:00
2025-07-08 12:08:14 +02: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-08-22 00:35:50 +01:00
2025-08-07 12:45:44 +01:00
2025-07-31 11:38:51 +01:00
2026-02-03 16:40:54 +00:00
2024-04-18 16:53:55 +02:00
2025-08-14 16:14:59 +01:00
2025-04-29 14:16:17 +01: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
2025-02-28 11:31:14 +00:00
2024-09-06 17:21:56 +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
2025-06-25 11:19:50 +01:00
2022-06-13 21:13:50 +02:00