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 2fe1a1a commit cf5f6fcCopy full SHA for cf5f6fc
src/AsyncTask.php
@@ -270,7 +270,13 @@ public function withoutTimeLimit(): static
270
return $this;
271
}
272
273
- private function pcntlGracefulExit(): never
+ /**
274
+ * On Unix only. Signal handler for SIGTERM to catch it and exit() instead.
275
+ *
276
+ * NOT FOR EXTERNAL USE!
277
+ * @return never
278
+ */
279
+ public function pcntlGracefulExit(): never
280
{
281
// just exit is ok
282
// exit asap so that our error checking inside shutdown functions can take place outside of the usual max_execution_time limit
0 commit comments