fix(schedules): disable coroutine until we have proper pool support (#9759)

This commit is contained in:
Fabian Gruber 2025-05-14 10:40:56 +02:00 committed by GitHub
parent 98c634c3c9
commit c0b7c47615
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,6 @@
namespace Appwrite\Platform\Tasks;
use Swoole\Runtime;
use Swoole\Timer;
use Utopia\CLI\Console;
use Utopia\Database\Database;
@ -66,8 +65,6 @@ abstract class ScheduleBase extends Action
*/
public function action(Group $pools, Database $dbForPlatform, callable $getProjectDB, Telemetry $telemetry): void
{
Runtime::enableCoroutine();
Console::title(\ucfirst(static::getSupportedResource()) . ' scheduler V1');
Console::success(APP_NAME . ' ' . \ucfirst(static::getSupportedResource()) . ' scheduler v1 has started');