Skip to content

Commit 87463da

Browse files
Update octane.md (#9779)
* 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>
1 parent 5636016 commit 87463da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octane.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ services:
128128
frankenphp:
129129
build:
130130
context: .
131-
entrypoint: php artisan octane:frankenphp --max-requests=1
131+
entrypoint: php artisan octane:frankenphp --workers=1 --max-requests=1
132132
ports:
133133
- "8000:8000"
134134
volumes:

0 commit comments

Comments
 (0)