Merge remote-tracking branch 'origin/fix-disable-tcp-hook' into 1.7.x

This commit is contained in:
Jake Barnby 2025-05-30 01:51:18 +12:00
commit f6cd1d4220
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;