Skip to content

Commit 1c31adc

Browse files
authored
[Scheduler] Remove incorrect mention of subtracting time from jitter
As we can see in the code https://github.com/symfony/symfony/blob/6.3/src/Symfony/Component/Scheduler/Trigger/JitterTrigger.php we can only add time
1 parent 455402b commit 1c31adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scheduler.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ the frequency of the message. Symfony provides different types of triggers:
151151

152152
:class:`Symfony\\Component\\Scheduler\\Trigger\\JitterTrigger`
153153
A trigger that adds a random jitter to a given trigger. The jitter is some
154-
time that it's added/subtracted to the original triggering date/time. This
154+
time that is added to the original triggering date/time. This
155155
allows to distribute the load of the scheduled tasks instead of running them
156156
all at the exact same time.
157157

0 commit comments

Comments
 (0)