was seeing a lot of timeout retries here when reduced to 5 seconds

This commit is contained in:
Josh Sandlin
2026-07-31 14:47:14 -04:00
parent d200d60637
commit b7616f0123
+1 -5
View File
@@ -21,11 +21,7 @@ func New(baseURL string) *Client {
return &Client{
baseURL: baseURL,
http: &http.Client{
// A manifest delete is a metadata operation against a zot running
// alongside this process, so it should be fast. Failing quickly
// keeps one wedged tag from stalling the rest of the sweep; the row
// stays in the store and is retried on the next tick.
Timeout: 5 * time.Second,
Timeout: 30 * time.Second,
},
}
}