Commit 525929e
committed
Breaking change to current_retry_interval
Return nil after dispatch to Matching.
Consider an activity that's in retry backoff before attempt 2. This retry interval is 5s and the
next one, if there is another, will be 10s.
current_retry_interval:
SCHEDULED (dispatched to matching) STARTED (attempt completed/failed)
before 5s 10s nil
after 5s nil nil
next_attempt_schedule_time for comparison:
SCHEDULED (dispatched to matching at t) STARTED (attempt completed/failed)
t nil nil1 parent 8c58841 commit 525929e
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 131 | + | |
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
| |||
0 commit comments