mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 09:11:11 +08:00
mailru: attempt to fix throttling by decreasing min sleep to 100ms
Before this change we waited a minimum of 10ms between API calls for mailru. The tests no longer pass at this rate, so this increases the time to 100ms. See #7768
This commit is contained in:
parent
39f8d039fe
commit
27496fb26d
|
@ -46,8 +46,8 @@ import (
|
||||||
|
|
||||||
// Global constants
|
// Global constants
|
||||||
const (
|
const (
|
||||||
minSleepPacer = 10 * time.Millisecond
|
minSleepPacer = 100 * time.Millisecond
|
||||||
maxSleepPacer = 2 * time.Second
|
maxSleepPacer = 5 * time.Second
|
||||||
decayConstPacer = 2 // bigger for slower decay, exponential
|
decayConstPacer = 2 // bigger for slower decay, exponential
|
||||||
metaExpirySec = 20 * 60 // meta server expiration time
|
metaExpirySec = 20 * 60 // meta server expiration time
|
||||||
serverExpirySec = 3 * 60 // download server expiration time
|
serverExpirySec = 3 * 60 // download server expiration time
|
||||||
|
|
Loading…
Reference in New Issue
Block a user