File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -895,12 +895,12 @@ Modifying the Schedule at Runtime
895895
896896.. versionadded :: 6.4
897897
898- Modifying the schedule at runtime and recalculating the heap was introduced in Symfony 6.4.
898+ Support for modifying the schedule at runtime and recalculating the heap
899+ was introduced in Symfony 6.4.
899900
900901When a recurring message is added to or removed from the schedule,
901902the scheduler automatically restarts and recalculates the internal trigger heap.
902- This allows dynamic control over scheduled tasks during runtime.
903- code::
903+ This enables dynamic control of scheduled tasks at runtime::
904904
905905 // src/Scheduler/DynamicScheduleProvider.php
906906 namespace App\Scheduler;
@@ -921,7 +921,7 @@ code::
921921
922922 public function clearAndAddMessages(): void
923923 {
924- // Clear the current schedule (if any) and add new recurring messages
924+ // clear the current schedule and add new recurring messages
925925 $this->schedule?->clear();
926926 $this->schedule?->add(
927927 RecurringMessage::cron('@hourly', new DoActionMessage()),
You can’t perform that action at this time.
0 commit comments