modify
This commit is contained in:
@@ -46,7 +46,7 @@ class CrontabProcess extends Process
|
|||||||
{
|
{
|
||||||
$this->channel->push($process->read());
|
$this->channel->push($process->read());
|
||||||
|
|
||||||
Coroutine::sleep(0.01);
|
// Coroutine::sleep(0.01);
|
||||||
|
|
||||||
$this->readByWorker($process);
|
$this->readByWorker($process);
|
||||||
}
|
}
|
||||||
@@ -58,7 +58,7 @@ class CrontabProcess extends Process
|
|||||||
private function waitGroup()
|
private function waitGroup()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$content = $this->channel->pop(-1);
|
$content = $this->channel->pop();
|
||||||
|
|
||||||
$_content = json_decode($content, true);
|
$_content = json_decode($content, true);
|
||||||
if (is_null($_content)) {
|
if (is_null($_content)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user