This commit is contained in:
2021-07-06 15:41:22 +08:00
parent ab8a7d7fff
commit b661581baf
+1 -1
View File
@@ -101,7 +101,7 @@ class ClientsPool extends Component
if (!isset($num[$key])) {
$num[$key] = 0;
}
if (time() - $this->_times[$key] ?? time() > 300) {
if (time() - $this->_times[$key] ?? time() > 120) {
$this->flush($channel, 0);
} else if ($channel->length() > $min) {
$this->flush($channel, $min);