Update src/Appwrite/Platform/Tasks/ScheduleExecutions.php

This commit is contained in:
Matej Bačo 2024-09-07 19:02:38 +02:00 committed by GitHub
parent b1769ed5ca
commit b3ada0b017
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')