feat(worker): lab5 add exponential backoff retries and permanent error classification

This commit is contained in:
Голиков Maximillian Антон
2026-11-10 15:28:20 +03:00
parent 8fb191fc78
commit 996e305ea4
3 changed files with 91 additions and 25 deletions
+10
View File
@@ -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"
)