Skip to content

Commit

Permalink
启动时,设置runtime coroutine]
Browse files Browse the repository at this point in the history
  • Loading branch information
bingcool committed Feb 15, 2019
1 parent 4d28764 commit 845af2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions score/Core/BaseServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ class BaseServer {
public function __construct() {
// set config
Swfy::$config = self::$config;
// start runtime Coroutine
self::runtimeEnableCoroutine();
// set timeZone
self::setTimeZone();
// include common function
Expand Down
2 changes: 1 addition & 1 deletion score/MPHP.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
defined('SWOOLEFY_SYS_COLLECTOR_CHANNEL') or define('SWOOLEFY_SYS_COLLECTOR_CHANNEL', 'sys_collector_channel');

// 定义版本
defined('SWOOLEFY_VERSION') or define('SWOOLEFY_VERSION', '4.1.2');
defined('SWOOLEFY_VERSION') or define('SWOOLEFY_VERSION', '4.1.3');

class MPHP {

Expand Down

0 comments on commit 845af2c

Please sign in to comment.