File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -987,6 +987,7 @@ this is configurable for each transport:
987987 multiplier : 2
988988 max_delay : 0
989989 # applies randomness to the delay that can prevent the thundering herd effect
990+ # the value (between 0 and 1.0) is the percentage of 'delay' that will be added/subtracted
990991 jitter : 0.1
991992 # override all of this with a service that
992993 # implements Symfony\Component\Messenger\Retry\RetryStrategyInterface
@@ -1033,13 +1034,18 @@ this is configurable for each transport:
10331034 ->multiplier(2)
10341035 ->maxDelay(0)
10351036 // applies randomness to the delay that can prevent the thundering herd effect
1037+ // the value (between 0 and 1.0) is the percentage of 'delay' that will be added/subtracted
10361038 ->jitter(0.1)
10371039 // override all of this with a service that
10381040 // implements Symfony\Component\Messenger\Retry\RetryStrategyInterface
10391041 ->service(null)
10401042 ;
10411043 };
10421044
1045+ .. versionadded :: 7.1
1046+
1047+ The ``jitter `` option was introduced in Symfony 7.1.
1048+
10431049.. tip ::
10441050
10451051 Symfony triggers a :class: `Symfony\\ Component\\ Messenger\\ Event\\ WorkerMessageRetriedEvent `
You can’t perform that action at this time.
0 commit comments