From 24423777575d0cd9d824ba25361f5600daafd573 Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Wed, 27 Mar 2024 21:56:34 -0700 Subject: [PATCH] chore: Fix comment Signed-off-by: Shuo Wu --- pkg/process/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/process/process.go b/pkg/process/process.go index 8d23bb7cc..a202767cc 100644 --- a/pkg/process/process.go +++ b/pkg/process/process.go @@ -147,7 +147,7 @@ func (p *Process) StopWithSignal(signal syscall.Signal) { p.DeletionTimestamp = &now needStop = true } - // Retry the deletion if the process is not stopped in 30 seconds + // Retry the deletion if the process is not stopped in 60 seconds if p.DeletionTimestamp != nil && !needStop { deleteTimeout := time.Duration(int64(types.WaitInterval) * int64(types.WaitCount)) if p.DeletionTimestamp.Add(deleteTimeout).Before(now) {