mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Accept zero for RetryPolicy.Builder.delay()
This aligns the programmatic RetryPolicy configuration option with the delay support in @Retryable. See gh-35110
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ public @interface Retryable {
|
||||
* this serves as the initial delay to multiply from.
|
||||
* <p>The time unit is milliseconds by default but can be overridden via
|
||||
* {@link #timeUnit}.
|
||||
* <p>The default is 1000.
|
||||
* <p>Must be greater than or equal to zero. The default is 1000.
|
||||
* @see #jitter()
|
||||
* @see #multiplier()
|
||||
* @see #maxDelay()
|
||||
|
||||
Reference in New Issue
Block a user