Skip to content

Commit

Permalink
Update octane.md (#9779)
Browse files Browse the repository at this point in the history
* Update octane.md

--max-requests=1 will not work because the number of workers will be bigger than 1 

> The number of maximum requests is per worker, and by default, FrankenPHP starts many workers (2 times the number of CPUs).

laravel/octane#816 (comment)

* Update octane.md

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
ibrunotome and taylorotwell authored Jul 18, 2024
1 parent 5636016 commit 87463da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion octane.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ services:
frankenphp:
build:
context: .
entrypoint: php artisan octane:frankenphp --max-requests=1
entrypoint: php artisan octane:frankenphp --workers=1 --max-requests=1
ports:
- "8000:8000"
volumes:
Expand Down

0 comments on commit 87463da

Please sign in to comment.