mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
refactor: Response Models init
This commit is contained in:
parent
6d22474af9
commit
b1e766d61a
2 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,6 @@ global $global, $container;
|
|||
|
||||
$payloadSize = 12 * (1024 * 1024); // 12MB - adding slight buffer for headers and other data that might be sent with the payload - update later with valid testing
|
||||
$workerNumber = swoole_cpu_num() * intval(System::getEnv('_APP_WORKER_PER_CORE', 2));
|
||||
Response\Models::init();
|
||||
|
||||
$server = new Server('0.0.0.0', '80', [
|
||||
'open_http2_protocol' => true,
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ use Appwrite\Hooks\Hooks;
|
|||
use Appwrite\Network\Validator\Origin;
|
||||
use Appwrite\URL\URL;
|
||||
use Appwrite\Utopia\Queue\Connections;
|
||||
use Appwrite\Utopia\Response\Models;
|
||||
use MaxMind\Db\Reader;
|
||||
use PHPMailer\PHPMailer\PHPMailer;
|
||||
use Swoole\Database\PDOConfig;
|
||||
|
|
@ -1330,3 +1331,5 @@ $container->set($queueForMigrations);
|
|||
$container->set($deviceForFunctions);
|
||||
$container->set($passwordsDictionary);
|
||||
$container->set($queueForCertificates);
|
||||
|
||||
Models::init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue