Skip to content

Commit

Permalink
Update Worker.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Apr 11, 2018
1 parent ab3cad9 commit 46a7757
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Worker
*
* @var string
*/
const VERSION = '3.5.5';
const VERSION = '3.5.6';

/**
* Status starting.
Expand Down Expand Up @@ -426,7 +426,7 @@ class Worker
protected static $_availableEventLoops = array(
'libevent' => '\Workerman\Events\Libevent',
'event' => '\Workerman\Events\Event',
'swoole' => '\Workerman\Events\Swoole'
'swoole' => '\Workerman\Events\Swoole'
);

/**
Expand Down Expand Up @@ -1085,7 +1085,7 @@ protected static function getEventLoopName()
if (interface_exists('\React\EventLoop\LoopInterface')) {
switch ($loop_name) {
case 'libevent':
static::$eventLoopClass = '\Workerman\Events\React\LibEventLoop';
static::$eventLoopClass = '\Workerman\Events\React\ExtLibEventLoop';
break;
case 'event':
static::$eventLoopClass = '\Workerman\Events\React\ExtEventLoop';
Expand Down

0 comments on commit 46a7757

Please sign in to comment.