Skip to content

Commit

Permalink
chore: Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: Shuo Wu <shuo.wu@suse.com>
  • Loading branch information
shuo-wu authored and innobead committed Mar 28, 2024
1 parent c4416e8 commit 2442377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2442377

Please sign in to comment.