Skip to content

Commit 36d5903

Browse files
authored
Update SimpleApp.php
1 parent 7e87a3c commit 36d5903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SimpleApp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function start()
6969
}
7070
}
7171
});
72-
$this->count = shell_exec('nproc') ? shell_exec('nproc') - 2 : 12;
72+
$this->count = shell_exec('nproc') ? shell_exec('nproc') - 1 : 12;
7373
\Workerman\Worker::runAll();
7474
}
7575

0 commit comments

Comments
 (0)