mirror of
https://github.com/rclone/rclone.git
synced 2025-02-03 20:20:36 +01:00
dropbox: add logs to show when poll interval limits are exceeded
This commit is contained in:
parent
cc9bc2cb80
commit
3d55f69338
@ -1370,10 +1370,12 @@ func (f *Fs) changeNotifyRunner(ctx context.Context, notifyFunc func(string, fs.
|
|||||||
|
|
||||||
if timeout < 30 {
|
if timeout < 30 {
|
||||||
timeout = 30
|
timeout = 30
|
||||||
|
fs.Debugf(f, "Increasing poll interval to minimum 30s")
|
||||||
}
|
}
|
||||||
|
|
||||||
if timeout > 480 {
|
if timeout > 480 {
|
||||||
timeout = 480
|
timeout = 480
|
||||||
|
fs.Debugf(f, "Decreasing poll interval to maximum 480s")
|
||||||
}
|
}
|
||||||
|
|
||||||
err = f.pacer.Call(func() (bool, error) {
|
err = f.pacer.Call(func() (bool, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user