From 5f873a0f7bc75033520d7f8f19972182659270d0 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:55:54 +0530 Subject: [PATCH] Increase waittime on error --- server/pkg/controller/filedata/delete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/pkg/controller/filedata/delete.go b/server/pkg/controller/filedata/delete.go index c46eba9d66..2b9beec21f 100644 --- a/server/pkg/controller/filedata/delete.go +++ b/server/pkg/controller/filedata/delete.go @@ -43,7 +43,7 @@ func (c *Controller) delete(i int) { if err != nil { // Sleep in proportion to the (arbitrary) index to space out the // workers further. - time.Sleep(time.Duration(i+1) * time.Minute) + time.Sleep(time.Duration(i+5) * time.Minute) } } }