walkor 7 жил өмнө
parent
commit
46a77574a5
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      Worker.php

+ 3 - 3
Worker.php

@@ -33,7 +33,7 @@ class Worker
      *
      *
      * @var string
      * @var string
      */
      */
-    const VERSION = '3.5.5';
+    const VERSION = '3.5.6';
 
 
     /**
     /**
      * Status starting.
      * Status starting.
@@ -426,7 +426,7 @@ class Worker
     protected static $_availableEventLoops = array(
     protected static $_availableEventLoops = array(
         'libevent' => '\Workerman\Events\Libevent',
         'libevent' => '\Workerman\Events\Libevent',
         'event'    => '\Workerman\Events\Event',
         'event'    => '\Workerman\Events\Event',
-	'swoole'   => '\Workerman\Events\Swoole'
+        'swoole'   => '\Workerman\Events\Swoole'
     );
     );
 
 
     /**
     /**
@@ -1085,7 +1085,7 @@ class Worker
             if (interface_exists('\React\EventLoop\LoopInterface')) {
             if (interface_exists('\React\EventLoop\LoopInterface')) {
                 switch ($loop_name) {
                 switch ($loop_name) {
                     case 'libevent':
                     case 'libevent':
-                        static::$eventLoopClass = '\Workerman\Events\React\LibEventLoop';
+                        static::$eventLoopClass = '\Workerman\Events\React\ExtLibEventLoop';
                         break;
                         break;
                     case 'event':
                     case 'event':
                         static::$eventLoopClass = '\Workerman\Events\React\ExtEventLoop';
                         static::$eventLoopClass = '\Workerman\Events\React\ExtEventLoop';