mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 00:43:49 +01:00
pacer: default the Google pacer to a burst of 100 to fix gcs pacing
Before this change the pacer defaulted to a burst of 1 which mean that it kept being activated unecessarily. This affected Google Cloud Storage and Google Photos. See: https://forum.rclone.org/t/no-traverse-too-slow-with-lot-of-files/29886/12
This commit is contained in:
parent
1978ddde73
commit
2738db22fb
@ -219,7 +219,7 @@ type GoogleDriveOption interface {
|
|||||||
func NewGoogleDrive(opts ...GoogleDriveOption) *GoogleDrive {
|
func NewGoogleDrive(opts ...GoogleDriveOption) *GoogleDrive {
|
||||||
c := &GoogleDrive{
|
c := &GoogleDrive{
|
||||||
minSleep: 10 * time.Millisecond,
|
minSleep: 10 * time.Millisecond,
|
||||||
burst: 1,
|
burst: 100,
|
||||||
}
|
}
|
||||||
c.Update(opts...)
|
c.Update(opts...)
|
||||||
return c
|
return c
|
||||||
|
Loading…
Reference in New Issue
Block a user