From 3d55f693385302cd920b9ae789245393139daacd Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 31 May 2022 12:08:01 +0100 Subject: [PATCH] dropbox: add logs to show when poll interval limits are exceeded --- backend/dropbox/dropbox.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/dropbox/dropbox.go b/backend/dropbox/dropbox.go index 446f475f8..000bfd5e4 100644 --- a/backend/dropbox/dropbox.go +++ b/backend/dropbox/dropbox.go @@ -1370,10 +1370,12 @@ func (f *Fs) changeNotifyRunner(ctx context.Context, notifyFunc func(string, fs. if timeout < 30 { timeout = 30 + fs.Debugf(f, "Increasing poll interval to minimum 30s") } if timeout > 480 { timeout = 480 + fs.Debugf(f, "Decreasing poll interval to maximum 480s") } err = f.pacer.Call(func() (bool, error) {