瀏覽代碼

update: horizon config

tokumeikoi 3 年之前
父節點
當前提交
895976b830
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      config/horizon.php

+ 1 - 1
config/horizon.php

@@ -182,7 +182,7 @@ return [
                 ],
                 'balance' => 'auto',
                 'minProcesses' => 1,
-                'maxProcesses' => (int)ceil($parser->getRam()['total'] / 1024 / 1024 / 1024 * 12),
+                'maxProcesses' => (int)ceil($parser->getRam()['total'] / 1024 / 1024 / 1024 * 6),
                 'tries' => 1,
                 'nice' => 0,
             ],