Skip to content

Commit 3bb4b37

Browse files
committed
update with PR changes
1 parent 05cfd12 commit 3bb4b37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scheduler.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ This allows the system to retain the state of the schedule, ensuring that when a
889889
}
890890
}
891891

892-
With ``stateful`` option, All missed messages will be handled, If you nedd handle your message only once you can use the ``setHeapOnlyOnce`` option.::
892+
With ``stateful`` option, All missed messages will be handled, If you nedd handle your message only once you can use the ``processOnlyLastMissedRun`` option.::
893893

894894
// src/Scheduler/SaleTaskProvider.php
895895
namespace App\Scheduler;
@@ -906,7 +906,7 @@ With ``stateful`` option, All missed messages will be handled, If you nedd handl
906906
// ...
907907
)
908908
->stateful($this->cache)
909-
->setHeapOnlyOnce(true)
909+
->processOnlyLastMissedRun(true)
910910
}
911911
}
912912

0 commit comments

Comments
 (0)