mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 08:09:18 +02:00
fix: update dev server PHP limits in justfile to match large video uploads
The just dev command hardcodes upload_max_filesize=512M and post_max_size=520M via -d flags, which override .user.ini. Raised to 8192M/8704M to match the JS-side 8GB video size caps. Also raised max_execution_time and max_input_time to 600s to accommodate large file transfers and PeerTube uploads.
This commit is contained in:
10
justfile
10
justfile
@@ -16,11 +16,11 @@ dev: migrate
|
||||
@xdg-open http://127.0.0.1:8000 &
|
||||
@xdg-open http://127.0.0.1:8000/admin/ &
|
||||
@php \
|
||||
-d upload_max_filesize=512M \
|
||||
-d post_max_size=520M \
|
||||
-d memory_limit=256M \
|
||||
-d max_execution_time=300 \
|
||||
-d max_input_time=300 \
|
||||
-d upload_max_filesize=8192M \
|
||||
-d post_max_size=8704M \
|
||||
-d memory_limit=512M \
|
||||
-d max_execution_time=600 \
|
||||
-d max_input_time=600 \
|
||||
-S 127.0.0.1:8000 -t app/public/ app/router.php 2>&1 \
|
||||
| stdbuf -oL grep -Ev '(Accepted|Closing|live-reload\.php|assets/|favicon)'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user