From ca5065ae4a9fb67c0df28592916bff5a3f0cef0a Mon Sep 17 00:00:00 2001 From: Gaetan Rouseyrol <47118498+Te4g@users.noreply.github.com> Date: Mon, 15 Apr 2024 13:04:27 +0200 Subject: [PATCH] [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 --- scheduler.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler.rst b/scheduler.rst index 39644ff9c8e..12d76eadc29 100644 --- a/scheduler.rst +++ b/scheduler.rst @@ -153,7 +153,7 @@ the frequency of the message. Symfony provides different types of triggers: :class:`Symfony\\Component\\Scheduler\\Trigger\\JitterTrigger` A trigger that adds a random jitter to a given trigger. The jitter is some - time that it's added/subtracted to the original triggering date/time. This + time that is added to the original triggering date/time. This allows to distribute the load of the scheduled tasks instead of running them all at the exact same time.