mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Update src/Appwrite/Platform/Tasks/ScheduleExecutions.php
This commit is contained in:
parent
b1769ed5ca
commit
b3ada0b017
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class ScheduleExecutions extends ScheduleBase
|
|||
|
||||
$delay = $scheduledAt->getTimestamp() - (new \DateTime())->getTimestamp();
|
||||
|
||||
\go(function () use ($queueForFunctions, $schedule, $delay, $data, $dbForConsole) {
|
||||
\go(function () use ($queueForFunctions, $schedule, $delay, $data) {
|
||||
Co::sleep($delay);
|
||||
|
||||
$queueForFunctions->setType('schedule')
|
||||
|
|
|
|||
Loading…
Reference in a new issue