常态worker调整回20个
This commit is contained in:
@@ -13,7 +13,7 @@ init_db($options['server_name'], $options['user'], $options['password']);
|
|||||||
|
|
||||||
$worker = new Worker('http://0.0.0.0:8888');
|
$worker = new Worker('http://0.0.0.0:8888');
|
||||||
$worker -> name = 'CaptureWorker';
|
$worker -> name = 'CaptureWorker';
|
||||||
$worker -> count = 200;
|
$worker -> count = 20;
|
||||||
|
|
||||||
$worker -> onWorkerStart = function(Worker $worker) {
|
$worker -> onWorkerStart = function(Worker $worker) {
|
||||||
global $options, $dbconn;
|
global $options, $dbconn;
|
||||||
|
|||||||
Reference in New Issue
Block a user