We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6d65e5 commit 7f7d703Copy full SHA for 7f7d703
1 file changed
error.go
@@ -28,9 +28,9 @@ func JobCancel(err error) error {
28
type JobSnoozeError = rivertype.JobSnoozeError
29
30
// JobSnooze can be returned from a Worker's Work method to cause the job to be
31
-// tried again after the specified duration. This also has the effect of
32
-// incrementing the job's MaxAttempts by 1, meaning that jobs can be repeatedly
33
-// snoozed without ever being discarded.
+// tried again after the specified duration. This will not increment the job's
+// Attempt count, meaning that jobs can be repeatedly snoozed without ever being
+// discarded.
34
//
35
// A special duration of zero can be used to make the job immediately available
36
// to be reworked. This may be useful in cases like where a long-running job is
0 commit comments