Skip to content

Commit edb078b

Browse files
committed
fix: set nextExecutionTime to prevent stacking of calculating nextExecutionTime
1 parent 275016e commit edb078b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Controller/ScheduledTaskController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function runTask(string $id, Context $context): JsonResponse
4343
[
4444
'id' => $id,
4545
'status' => ScheduledTaskDefinition::STATUS_QUEUED,
46+
'nextExecutionTime' => new \DateTime(),
4647
],
4748
], $context);
4849

0 commit comments

Comments
 (0)