You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
goqueue.Permanent(err) (also job.Permanent) marks a job error as non-retryable, and goqueue.IsPermanent(err) detects the mark. When a handler returns a permanent error (also when wrapped again with %w), the worker skips the remaining retries and dead-letters the job at once instead of retrying a request that cannot succeed, such as one an API rejected with a 4xx. The DLQ entry keeps the original error chain. Permanent(nil) is nil.