This commit is contained in:
2020-11-17 17:44:01 +08:00
parent 3956a282b8
commit 12414239eb
+3 -1
View File
@@ -29,7 +29,9 @@ abstract class Callback extends Application
protected function clear($server, $worker_id, $message)
{
try {
$this->warning($server->worker_pid);
if ($worker_id < $server->settings['worker_num']) {
$this->warning($server->worker_pid);
}
Snowflake::clearProcessId($server->worker_pid);
Timer::clearAll();