diff --git a/lib/events/complete.go b/lib/events/complete.go index 6d6147b6717b2..89c39c9090bab 100644 --- a/lib/events/complete.go +++ b/lib/events/complete.go @@ -68,7 +68,7 @@ func (cfg *UploadCompleterConfig) CheckAndSetDefaults() error { cfg.Component = teleport.ComponentAuth } if cfg.CheckPeriod == 0 { - cfg.CheckPeriod = defaults.LowResPollingPeriod + cfg.CheckPeriod = defaults.AbandonedUploadPollingRate } if cfg.Clock == nil { cfg.Clock = clockwork.NewRealClock() diff --git a/lib/events/filesessions/fileasync_chaos_test.go b/lib/events/filesessions/fileasync_chaos_test.go index ccbc2b3caaedc..78198c9a03124 100644 --- a/lib/events/filesessions/fileasync_chaos_test.go +++ b/lib/events/filesessions/fileasync_chaos_test.go @@ -174,10 +174,6 @@ func TestChaosUpload(t *testing.T) { scansCh := make(chan error, parallelStreams) for i := 0; i < parallelStreams; i++ { go func() { - if err := uploader.uploadCompleter.CheckUploads(ctx); err != nil { - scansCh <- trace.Wrap(err) - return - } _, err := uploader.Scan() scansCh <- trace.Wrap(err) }()