Skip to content

Commit

Permalink
Update octane.md
Browse files Browse the repository at this point in the history
--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)
  • Loading branch information
ibrunotome authored Jul 18, 2024
1 parent 5636016 commit 5ee3676
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 --max-requests=1 --workers=1
ports:
- "8000:8000"
volumes:
Expand Down

0 comments on commit 5ee3676

Please sign in to comment.