Commit 8d7cef7
committed
Make sure DelayType function gets consistent values of n
Without this change DelayType function gets n either from
0,1,2,... or from 1,2,3,... depending on the value of Attempts
config value.
This change unifies the behaviour and makes n always take values from
1,2,3,...
Fixes avast#124
Signed-off-by: Piotr Jastrzebski <[email protected]>1 parent 79a35c4 commit 8d7cef7
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
| |||
0 commit comments