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:
Pontoporeia
2026-06-15 16:27:38 +02:00
parent c8af3bf869
commit 928e074d24
2 changed files with 8 additions and 6 deletions

View File

@@ -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)'