mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
Fix typo in code sample in worker.md
This commit is contained in:
committed by
Kévin Dunglas
parent
d99ce659f6
commit
c0c56a8cf8
@@ -77,7 +77,7 @@ $handler = static function () use ($myApp) {
|
||||
};
|
||||
|
||||
$maxRequests = (int)($_SERVER['MAX_REQUESTS'] ?? 0);
|
||||
for ($nbRequests = 0; !$maxRequests || $nbRequests < maxRequests; ++$nbRequests) {
|
||||
for ($nbRequests = 0; !$maxRequests || $nbRequests < $maxRequests; ++$nbRequests) {
|
||||
$keepRunning = \frankenphp_handle_request($handler);
|
||||
|
||||
// Do something after sending the HTTP response
|
||||
|
||||
Reference in New Issue
Block a user