reset: stuff from main.

This commit is contained in:
Darshan
2025-05-27 19:21:28 +05:30
parent 2de9b85d6b
commit 7e6f4befa5
5 changed files with 39 additions and 38 deletions
+2 -1
View File
@@ -284,5 +284,6 @@ $cli
$cli->shutdown()->action(fn () => Timer::clearAll());
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
// Enable coroutines, but disable TCP hooks. These don't work until we use `\Utopia\Cache\Adapter\Pool` and `\Utopia\Database\Adapter\Pool`.
Runtime::enableCoroutine(SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_TCP);
run($cli->run(...));