This commit is contained in:
2021-02-20 13:40:03 +08:00
parent 7a461e35a0
commit 097368af8f
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -132,6 +132,7 @@ abstract class Pool extends Component
return; return;
} }
var_dump($coroutineName);
if ($this->creates === -1) { if ($this->creates === -1) {
$this->creates = Timer::tick(1000, [$this, 'Heartbeat_detection']); $this->creates = Timer::tick(1000, [$this, 'Heartbeat_detection']);
} }
-1
View File
@@ -40,7 +40,6 @@ trait Timeout
{ {
$channels = $this->getChannels(); $channels = $this->getChannels();
foreach ($channels as $name => $channel) { foreach ($channels as $name => $channel) {
$this->debug('release ' . $name);
$this->pop($channel, $name, $retain_number); $this->pop($channel, $name, $retain_number);
} }
if ($retain_number == 0) { if ($retain_number == 0) {