Skip to content

Commit

Permalink
修改范例
Browse files Browse the repository at this point in the history
  • Loading branch information
onanying committed Dec 13, 2017
1 parent e1322e1 commit dc2afd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
use mix\process\TaskProcess;

/**
* 队列服务控制器
* 这是一个多进程守护进程的范例,进程模型为:生产者消费者模型
* 这是一个多进程守护进程的范例
* 进程模型为:生产者消费者模型
* 你可以自由选择是左进程当生产者还是右进程当生产者,本范例是左进程当生产者
* @author 刘健 <[email protected]>
*/
class QueueController extends Controller
class MultiController extends Controller
{

// 启动服务
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
use mix\console\Controller;

/**
* 默认控制器
* 这是一个单进程守护进程的范例
* @author 刘健 <[email protected]>
*/
class IndexController extends Controller
class SingleController extends Controller
{

public function actionStart()
Expand Down

0 comments on commit dc2afd3

Please sign in to comment.