Skip to content

Commit 4f9853e

Browse files
committed
Set default from 5 to 4
1 parent fbfd3bf commit 4f9853e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class My_worker extends WorkerController
240240
|$phpCommand |string |'php' |PHP CLI command for current environment|
241241
|$listenerSleep |integer |3 |Time interval of listen frequency on idle|
242242
|$workerSleep |integer |0 |Time interval of worker processes frequency|
243-
|$workerMaxNum |integer |5 |Number of max workers|
243+
|$workerMaxNum |integer |4 |Number of max workers|
244244
|$workerStartNum |integer |1 |Number of workers at start, less than or equal to $workerMaxNum|
245245
|$workerWaitSeconds|integer |10 |Waiting time between worker started and next worker starting|
246246
|$workerHeathCheck |boolean |true |Enable worker health check for listener|

src/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Controller extends CI_Controller
5656
*
5757
* @var integer
5858
*/
59-
public $workerMaxNum = 5;
59+
public $workerMaxNum = 4;
6060

6161
/**
6262
* Number of workers at start, less than or equal to $workerMaxNum

0 commit comments

Comments
 (0)