1
mirror of https://github.com/rclone/rclone synced 2024-11-24 01:26:25 +01:00
rclone/fs/march
Nick Craig-Wood 88bd80c1fa march: Fix excessive parallelism when using --no-traverse
When using `--no-traverse` the march routines call NewObject on each
potential object in the destination.

The concurrency limiter was accidentally arranged so that there were
`--checkers` * `--checkers` NewObject calls going on at once.

This became obvious when using the sftp backend which used too many
connections.

Fixes #5824
2023-11-20 17:36:31 +00:00
..
march_test.go test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
march.go march: Fix excessive parallelism when using --no-traverse 2023-11-20 17:36:31 +00:00