Skip to content

Commit e37d364

Browse files
committed
Minor tweaks
1 parent d52717b commit e37d364

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scheduler.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

900901
When a recurring message is added to or removed from the schedule,
901902
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::
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()),

0 commit comments

Comments
 (0)