Files
mtusi2026lab5/evidence/worker-limits.txt
T

13 lines
518 B
Plaintext

# worker-limits
# date: 2026-11-11T23:54:14 commit: 276dbda
$ docker compose --env-file .env exec -T api python -m app.tools limits-selftest
ok normal 320x200 with alpha: ok (3.3s)
ok pixel limit (36 Mp > limit 10 Mp): invalid_image: pixel limit (3.8s)
ok memory limit (36 Mp, RLIMIT_AS 120 MiB): invalid_image: memory limit (2.0s)
ok corrupt/truncated PNG: invalid_image: cannot decode: OSError (2.9s)
ok time limit (hangs 10 s, timeout 2 s): timeout(killed) (2.0s)
5 passed, 0 failed
[exit 0]