This commit is contained in:
2021-03-02 18:16:34 +08:00
parent 104a0bfe73
commit 967bfa2b37
6 changed files with 28 additions and 8 deletions
+1 -4
View File
@@ -33,11 +33,9 @@ abstract class Callback extends HttpService
protected function clear($server, $worker_id, $message)
{
try {
Timer::clearAll();
fire(Event::SYSTEM_RESOURCE_CLEAN);
\logger()->insert();
\logger()->insert();
Snowflake::clearProcessId($server->worker_pid);
@@ -52,7 +50,6 @@ abstract class Callback extends HttpService
}
const EVENT_ERROR = 'WORKER:ERROR';
const EVENT_STOP = 'WORKER:STOP';
const EVENT_EXIT = 'WORKER:EXIT';