Skip to content

Commit

Permalink
3.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Jan 22, 2019
1 parent 4da5a0e commit 2893a14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/Console/ConsoleService.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ function __construct()

public function push(string $string)
{
/*
* 服务启动前不做push.为cli单元测试预备
*/
if(!ServerManager::getInstance()->isStart()){
return;
}
Expand Down Expand Up @@ -121,7 +124,9 @@ public function __registerTcpServer()
$sub->set($sub::onClose, function (\swoole_server $server, int $fd, int $reactorId) {
foreach ($this->authTable as $key => $value){
if($value['fd'] === $fd){
$this->authTable->del($key);
$this->authTable->set($key,[
'fd'=>null
]);
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/SysConst.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class SysConst
{
const EASYSWOOLE_VERSION = '3.1.12';
const EASYSWOOLE_VERSION = '3.1.13';
const LOGGER_HANDLER = 'LOGGER_HANDLER';
const ERROR_HANDLER = 'ERROR_HANDLER';
const TRIGGER_HANDLER = 'TRIGGER_HANDLER';
Expand Down

0 comments on commit 2893a14

Please sign in to comment.