modify mysql result
This commit is contained in:
+3
-2
@@ -63,11 +63,12 @@ class Inotify extends BaseProcess
|
|||||||
|
|
||||||
public function onSigterm(): static
|
public function onSigterm(): static
|
||||||
{
|
{
|
||||||
|
pcntl_signal(SIGTERM, function () {
|
||||||
$this->isStop = true;
|
$this->isStop = true;
|
||||||
|
|
||||||
$this->clear();
|
$this->clear();
|
||||||
|
});
|
||||||
return parent::onSigterm(); // TODO: Change the autogenerated stub
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user