This commit is contained in:
2021-03-02 15:01:56 +08:00
parent 702b204e40
commit d7bf22d5fe
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -10,10 +10,8 @@ use Snowflake\Abstracts\Config;
use Snowflake\Event;
use Snowflake\Exception\ComponentException;
use Snowflake\Exception\ConfigException;
use Snowflake\Process\Process;
use Snowflake\Snowflake;
use Swoole\Coroutine;
use Swoole\Runtime;
use Swoole\Server;
/**
@@ -110,7 +108,7 @@ class OnWorkerStart extends Callback
return;
}
Coroutine\System::sleep(1);
sleep(1);
$this->ticker();
}