Skip to content

Commit 494126e

Browse files
committed
Updating the default octane values
1 parent cdeb7e3 commit 494126e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ SCRIPT_MICROSERVICE_PUSHER_PORT=
6767

6868
# FrankenPHP workers ignore CLI php.ini. Use Caddyfile + --caddyfile=Caddyfile.
6969
# OCTANE_MEMORY_LIMIT=512M
70-
# OCTANE_MAX_EXECUTION_TIME=90
70+
# OCTANE_MAX_EXECUTION_TIME=120
7171
# OCTANE_POST_MAX_SIZE=200M
7272
# OCTANE_UPLOAD_MAX_FILESIZE=200M
7373
# OCTANE_MAX_INPUT_VARS=9000

Caddyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
frankenphp {
55
# FrankenPHP workers ignore CLI php.ini / PHPRC. Set PHP limits here.
6-
php_ini memory_limit {$OCTANE_MEMORY_LIMIT:3072M}
7-
php_ini max_execution_time {$OCTANE_MAX_EXECUTION_TIME:90}
6+
php_ini memory_limit {$OCTANE_MEMORY_LIMIT:512M}
7+
php_ini max_execution_time {$OCTANE_MAX_EXECUTION_TIME:120}
88
php_ini post_max_size {$OCTANE_POST_MAX_SIZE:200M}
99
php_ini upload_max_filesize {$OCTANE_UPLOAD_MAX_FILESIZE:200M}
1010
php_ini max_input_vars {$OCTANE_MAX_INPUT_VARS:9000}

config/octane.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255

256256
'caddy' => [
257257
'env' => [
258-
'OCTANE_MEMORY_LIMIT' => env('OCTANE_MEMORY_LIMIT', '3072M'),
258+
'OCTANE_MEMORY_LIMIT' => env('OCTANE_MEMORY_LIMIT', '512M'),
259259
'OCTANE_MAX_EXECUTION_TIME' => env('OCTANE_MAX_EXECUTION_TIME', 90),
260260
'OCTANE_POST_MAX_SIZE' => env('OCTANE_POST_MAX_SIZE', '200M'),
261261
'OCTANE_UPLOAD_MAX_FILESIZE' => env('OCTANE_UPLOAD_MAX_FILESIZE', '200M'),

0 commit comments

Comments
 (0)