modify plugin name
This commit is contained in:
@@ -182,6 +182,7 @@ class AsyncServer implements ServerInterface
|
||||
*/
|
||||
public function onSignal(array $signal): void
|
||||
{
|
||||
pcntl_signal(SIGTERM, [$this, 'onSigint']);
|
||||
pcntl_signal(SIGINT, [$this, 'onSigint']);
|
||||
foreach ($signal as $sig => $value) {
|
||||
if (is_array($value) && is_string($value[0])) {
|
||||
|
||||
+1
-2
@@ -184,8 +184,7 @@ class Server extends HttpService
|
||||
$reload = Config::get('reload.hot', false);
|
||||
if ($reload !== false) {
|
||||
$this->provider->on(OnWorkerStart::class, [$this, 'LoadRoutingList']);
|
||||
|
||||
$this->process[] = Scaner::class;
|
||||
$this->processManager->add(Scaner::class);
|
||||
} else {
|
||||
$this->LoadRoutingList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user