1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-08 19:43:58 +00:00
Files
rclone/pacer
klauspost 79fd662676 Protect concurrent read/writes to pacer.
Protects all variables in the pacer from concurrent modifications. It is now safe to modify pacer settings while it is running.

I decided to not go for an RWMutex, since all accesses are very short, so the overhead of an RWMutex isn't worth it.

Fixes #138.
2015-09-16 12:25:55 +02:00
..