modify plugin name

This commit is contained in:
2022-03-02 17:25:12 +08:00
parent 7232269ad0
commit c3e914ecf1
+3 -3
View File
@@ -137,9 +137,9 @@ class HotReload extends Command
$this->trigger_reload();
Timer::tick(1000, fn() => $this->healthCheck());
Process::signal(SIGTERM, [$this, 'onSignal']);
Process::signal(SIGKILL, [$this, 'onSignal']);
pcntl_signal(SIGTERM, function () {
$this->onSignal(func_get_args());
});
$this->driver->start();
return 0;
}