Skip to content

Commit

Permalink
Default React for SELECT
Browse files Browse the repository at this point in the history
  • Loading branch information
sm2017 authored Apr 15, 2017
1 parent b007a79 commit c1644f5
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 c1644f5

Please sign in to comment.