Skip to content

Commit

Permalink
Merge pull request #159 from sm2017/patch-1
Browse files Browse the repository at this point in the history
Default React for SELECT
  • Loading branch information
walkor authored Apr 15, 2017
2 parents b007a79 + c1644f5 commit 9b49339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ protected static function getEventLoopName()
self::$eventLoopClass = self::$_availableEventLoops[$loop_name];
}
} else {
self::$eventLoopClass = '\Workerman\Events\Select';
self::$eventLoopClass = interface_exists('\React\EventLoop\LoopInterface')? '\Workerman\Events\React\StreamSelectLoop':'\Workerman\Events\Select';
}
return self::$eventLoopClass;
}
Expand Down

0 comments on commit 9b49339

Please sign in to comment.