mirror of
https://github.com/appwrite/appwrite
synced 2026-04-21 13:37:16 +00:00
refactor: isolate realtime connection resources
This commit is contained in:
parent
a944c65660
commit
d81a1154e3
4 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ require_once __DIR__ . '/init.php';
|
|||
/** @var Registry $register */
|
||||
$register = $GLOBALS['register'] ?? throw new \RuntimeException('Registry not initialized');
|
||||
|
||||
$registerConnectionResources ??= require __DIR__ . '/init/resources/connection.php';
|
||||
$registerConnectionResources ??= require __DIR__ . '/init/realtime/connection.php';
|
||||
|
||||
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
require_once __DIR__ . '/init.php';
|
||||
$registerWorkerMessageResources = require __DIR__ . '/init/resources/message.php';
|
||||
$registerWorkerMessageResources = require __DIR__ . '/init/worker/message.php';
|
||||
|
||||
use Appwrite\Certificates\LetsEncrypt;
|
||||
use Appwrite\Platform\Appwrite;
|
||||
|
|
|
|||
Loading…
Reference in a new issue