From e08832a748770b230a933a970b15b13f3036a53d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 24 Feb 2021 14:57:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Application.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/System/Application.php b/System/Application.php index 6c993401..36adbacf 100644 --- a/System/Application.php +++ b/System/Application.php @@ -104,7 +104,10 @@ class Application extends BaseApplication public function start(Input $argv): bool|string { try { -// $this->scan_system_annotation(); + ini_set('opcache.enable', 1); + ini_set('opcache.enable_cli', 1); + ini_set('opcache.jit_buffer_size', '100M'); + ini_set('opcache.jit', 1255); fire(Event::SERVER_BEFORE_START);