mirror of
https://github.com/rclone/rclone.git
synced 2025-11-29 05:47:23 +02:00
Before this change the azureblob backend could deadlock when using --max-connections. This is because when it receives InvalidBlockOrBlob error it attempts to clear the condition before retrying. This in turn involved recursively calling the pacer. At this point the pacer can easily have no connections left which causes a deadlock as all the other pacer connections are waiting for the InvalidBlockOrBlob to be resolved. This fixes the problem by using a temporary pacer when resolving the InvalidBlockOrBlob errors.
100 KiB
100 KiB