‘INTERVAL’ => 10,
‘MAX_TASK’ => 5000,
‘QUEUE_COUNT’ => 64,
shell_exec
執行‘START_COMMAND’=> ‘/usr/bin/php ‘.Yii::app()->basePath.’/yiic.php queueV2 master’,
‘LOG_DIR’ => ‘/data/logs/queue/admin.qr.cntv.cn’,
‘WORKER’=> ‘CWorkerForYii’,
‘STORE’=> ‘CFileStore’,
‘STORE_DIR’=> ‘/tmp/queue’,
‘STORE_PREEFIX’=> ‘qr’,
pcntl_waitpid
的返回值, 若和該配置值相等,則表示該子進程已經退出。主進程需要重新開啟對應子進程‘FINISH_STATE’=> -1,
‘STORE_MASTER_PID_KEY’=> ‘master_pid’,