Skip to content

Commit aa10b80

Browse files
committed
minor #19791 [Scheduler] Remove incorrect mention of subtracting time from jitter (Te4g)
This PR was submitted for the 6.3 branch but it was merged into the 6.4 branch instead. Discussion ---------- [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. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> Commits ------- ca5065a [Scheduler] Remove incorrect mention of subtracting time from jitter
2 parents f42a61f + ca5065a commit aa10b80

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
@@ -153,7 +153,7 @@ the frequency of the message. Symfony provides different types of triggers:
153153

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

0 commit comments

Comments
 (0)