File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Filter options
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
895
895
896
896
.. versionadded :: 6.4
897
897
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.
899
900
900
901
When a recurring message is added to or removed from the schedule,
901
902
the 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::
904
904
905
905
// src/Scheduler/DynamicScheduleProvider.php
906
906
namespace App\Scheduler;
@@ -921,7 +921,7 @@ code::
921
921
922
922
public function clearAndAddMessages(): void
923
923
{
924
- // Clear the current schedule (if any) and add new recurring messages
924
+ // clear the current schedule and add new recurring messages
925
925
$this->schedule?->clear();
926
926
$this->schedule?->add(
927
927
RecurringMessage::cron('@hourly', new DoActionMessage()),
You can’t perform that action at this time.
0 commit comments