改名
This commit is contained in:
@@ -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']);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user