готово

This commit is contained in:
2026-11-12 19:38:03 +03:00
parent ec540a1a72
commit f3ba37f736
142 changed files with 10257 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
# Temporary profile: 5 admitted uploads per replica, serialized image decoding.
# Restore the ordinary project configuration even when the experiment fails.
restore_upload_profile() {
docker compose up -d --wait api >/dev/null 2>&1
}
trap restore_upload_profile EXIT INT TERM
UPLOAD_CONCURRENCY=5 docker compose up -d --wait api >/dev/null 2>&1
"${PYTHON:-python3}" tests/upload_memory.py