We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6881501 commit 74041d6Copy full SHA for 74041d6
commands/AsyncWorkerCommand.php
@@ -60,6 +60,10 @@ protected function processTask(AsyncTask $task)
60
61
private function handleSignal()
62
{
63
+ if (!function_exists('pcntl_signal')) {
64
+ return;
65
+ }
66
+
67
pcntl_signal(
68
SIGTERM,
69
function ($signo) {
@@ -71,11 +75,19 @@ function ($signo) {
71
75
72
76
private function removeSignalHandler()
73
77
78
79
80
81
74
82
pcntl_signal(SIGTERM, SIG_DFL);
83
}
84
85
private function checkSignal()
86
87
88
+ return false;
89
90
91
pcntl_signal_dispatch();
92
if (AsyncWorkerCommand::$state == -1) {
93
return true;
0 commit comments