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:
987
987
multiplier : 2
988
988
max_delay : 0
989
989
# 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
990
991
jitter : 0.1
991
992
# override all of this with a service that
992
993
# implements Symfony\Component\Messenger\Retry\RetryStrategyInterface
@@ -1033,13 +1034,18 @@ this is configurable for each transport:
1033
1034
->multiplier(2)
1034
1035
->maxDelay(0)
1035
1036
// 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
1036
1038
->jitter(0.1)
1037
1039
// override all of this with a service that
1038
1040
// implements Symfony\Component\Messenger\Retry\RetryStrategyInterface
1039
1041
->service(null)
1040
1042
;
1041
1043
};
1042
1044
1045
+ .. versionadded :: 7.1
1046
+
1047
+ The ``jitter `` option was introduced in Symfony 7.1.
1048
+
1043
1049
.. tip ::
1044
1050
1045
1051
Symfony triggers a :class: `Symfony\\ Component\\ Messenger\\ Event\\ WorkerMessageRetriedEvent `
You can’t perform that action at this time.
0 commit comments