Skip to content

Commit

Permalink
合理性变更
Browse files Browse the repository at this point in the history
  • Loading branch information
yf committed Oct 26, 2018
1 parent 1c560d7 commit 6dd39b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private function registerDefaultCallBack(\swoole_server $server,string $serverTy
$depth = $depth > 5 ? $depth : 5;
$max = intval(Di::getInstance()->get(SysConst::HTTP_CONTROLLER_POOL_MAX_NUM));
if($max == 0){
$max = 100;
$max = 15;
}
$webService = new WebService($namespace,$depth,$max);
$httpExceptionHandler = Di::getInstance()->get(SysConst::HTTP_EXCEPTION_HANDLER);
Expand Down

0 comments on commit 6dd39b6

Please sign in to comment.