mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update src/Appwrite/Platform/Tasks/ScheduleExecutions.php
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user