feat(worker): lab5 add exponential backoff retries and permanent error classification
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package domain
|
||||
|
||||
const (
|
||||
JobErrorDecodeFailed = "decode_failed"
|
||||
JobErrorTooLarge = "too_large"
|
||||
JobErrorUnsupportedFormat = "unsupported_format"
|
||||
JobErrorStorage = "storage_error"
|
||||
JobErrorInternal = "internal_error"
|
||||
JobErrorRetryExhausted = "retry_exhausted"
|
||||
)
|
||||
Reference in New Issue
Block a user