Skip to content

Commit

Permalink
Add delay before restarting state tracker to avoid fast-looping on er…
Browse files Browse the repository at this point in the history
…rors from containerd

Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond authored and dereknola committed Apr 4, 2024
1 parent 2f3d1f9 commit d5e84dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func Track(ctx context.Context, ociClient oci.Client, router routing.Router, res
return
}
log.Error(err, "restarting image state tracker due to error")
time.Sleep(time.Second)
}
}

Expand Down

0 comments on commit d5e84dd

Please sign in to comment.