Revert "Merge pull request #9932 from appwrite/fix-disable-tcp-hook"

This reverts commit 7a34c7b8df, reversing
changes made to 2b9b76f7bd.
This commit is contained in:
Jake Barnby 2025-05-30 01:51:00 +12:00
parent c6b1209b8f
commit 972c9dde21
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -4,7 +4,6 @@ namespace Appwrite\Platform\Tasks;
use Appwrite\Event\StatsResources as EventStatsResources;
use Appwrite\Platform\Action;
use Swoole\Runtime;
use Utopia\CLI\Console;
use Utopia\Database\Database;
use Utopia\Database\DateTime;
@ -51,8 +50,6 @@ class StatsResources extends Action
public function action(Database $dbForPlatform, callable $logError, EventStatsResources $queue): void
{
Runtime::enableCoroutine(SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_TCP);
$this->logError = $logError;
$this->dbForPlatform = $dbForPlatform;