This commit is contained in:
2021-02-20 13:49:41 +08:00
parent 0b11a871be
commit 60805d5f4c
-2
View File
@@ -39,8 +39,6 @@ trait Timeout
protected function flush($retain_number)
{
$channels = $this->getChannels();
$names = [];
foreach ($channels as $name => $channel) {
$names[] = $name;
$this->pop($channel, $name, $retain_number);