update: set horizon with mem

This commit is contained in:
tokumeikoi
2021-09-05 18:05:25 +09:00
parent ccf3497241
commit e980c2d8f3
3 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,10 @@
<?php
use Illuminate\Support\Str;
use Linfo\Linfo;
$lInfo = new Linfo();
$parser = $lInfo->getParser();
return [
@ -178,7 +182,7 @@ return [
],
'balance' => 'auto',
'minProcesses' => 1,
'maxProcesses' => 64,
'maxProcesses' => (int)ceil($parser->getRam()['total'] / 1024 / 1024 / 1024 * 12),
'tries' => 1,
'nice' => 0,
],