1
0
mirror of https://github.com/rclone/rclone.git synced 2026-02-18 02:19:07 +00:00
Files
rclone/lib
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
..
2025-02-28 11:31:14 +00:00
2025-02-28 11:31:14 +00:00
2021-10-20 22:56:19 +02:00
2025-02-28 11:31:14 +00:00
2025-09-15 12:45:57 +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
2026-01-30 20:53:56 +00:00