Run manual diagnostic attachments in the background

This commit is contained in:
ayurishchev committed 2026-11-22 20:50:39 +03:00
1 parent d845a5e4b6
commit 89ac4d5bcd
40 files changed
+1560 -58

No files matched your search

+6
View File
@@ -64,6 +64,12 @@ type statusCoder interface{ GetStatusCode() int }
// RemoteDisconnected), HTTP 429 and HTTP 5xx. Any other 4xx, context
// cancellation and unknown errors are not retried.
func IsRetryableListError(err error) bool {
return IsRetryableRequestError(err)
}
// IsRetryableRequestError reports failures that can be transient. Callers
// performing a mutation should verify its effect before repeating it.
func IsRetryableRequestError(err error) bool {
if err == nil {
return false
}