coravel icon indicating copy to clipboard operation
coravel copied to clipboard

Scheduler overlaps on Minutes schedule when PreventOverlapping is enabled at application launch

Open LameuleFR opened this issue 11 months ago • 0 comments

Describe the bug I use the scheduler to schedule a task every 5 minutes that retrieves all the entities in the database then an await foreach on an AsyncEnumerable.

Sometimes the task is launched twice when the application is launched despite PreventOverlapping set with a key.

(I'm using .Net 9.0 / Blazor ServerSide)

Affected Coravel Feature Scheduler & PreventOverlapping

Expected behaviour Task should not run until the current task is not completed

LameuleFR avatar Jan 07 '25 12:01 LameuleFR