docs: don't stop the worker script even if a connection with a client is aborted

This commit is contained in:
Kévin Dunglas
2023-11-22 18:14:57 +01:00
parent b4aa8038ff
commit c884d26799

View File

@@ -35,6 +35,9 @@ The following example shows how to create your own worker script without relying
<?php
// public/index.php
// Prevent worker script termination when a client connection is interrupted
ignore_user_abort(true);
// Boot your app
require __DIR__.'/vendor/autoload.php';