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