改名
This commit is contained in:
@@ -225,13 +225,11 @@ class Response extends HttpService
|
|||||||
{
|
{
|
||||||
$sendData = $this->setHeaders($status, $sendData);
|
$sendData = $this->setHeaders($status, $sendData);
|
||||||
if (mb_strlen($sendData) >= 134217728) {
|
if (mb_strlen($sendData) >= 134217728) {
|
||||||
var_dump($sendData);
|
|
||||||
$this->response->end('');
|
$this->response->end('');
|
||||||
} else {
|
} else {
|
||||||
$this->response->end($sendData);
|
$this->response->end($sendData);
|
||||||
}
|
}
|
||||||
$this->response = null;
|
$this->response = null;
|
||||||
unset($this->response);
|
|
||||||
return $sendData;
|
return $sendData;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class Zookeeper extends Process
|
|||||||
*/
|
*/
|
||||||
public function onHandler(\Swoole\Process $process): void
|
public function onHandler(\Swoole\Process $process): void
|
||||||
{
|
{
|
||||||
$ticker = Config::get('crontab.ticker', 50) / 1000;
|
$ticker = Config::get('crontab.ticker', 100) / 1000;
|
||||||
$redis = Snowflake::app()->getRedis();
|
$redis = Snowflake::app()->getRedis();
|
||||||
while (true) {
|
while (true) {
|
||||||
$range = $this->loadCarobTask($redis);
|
$range = $this->loadCarobTask($redis);
|
||||||
|
|||||||
Reference in New Issue
Block a user