Skip to content

Commit

Permalink
docs: don't stop the worker script even if a connection with a client…
Browse files Browse the repository at this point in the history
… is aborted
  • Loading branch information
dunglas committed Nov 22, 2023
1 parent b4aa803 commit c884d26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit c884d26

Please sign in to comment.