mirror of
https://github.com/replicatedhq/ttl.sh.git
synced 2026-08-25 03:07:15 +00:00
was seeing a lot of timeout retries here when reduced to 5 seconds
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user