Files
mtusi2026lab7/evidence/worker-limits.txt
T
2026-12-03 16:54:53 +01:00

13 lines
521 B
Plaintext

# worker-limits
# date: 2026-12-03T00:25:04 commit: cbbe525
$ docker compose --env-file .env exec -T worker python -m app.tools limits-selftest
ok normal 320x200 with alpha: ok (3.9s)
ok pixel limit (36 Mp > limit 10 Mp): invalid_image: pixel limit (2.7s)
ok memory limit (36 Mp, RLIMIT_AS 120 MiB): invalid_image: memory limit (3.0s)
ok corrupt/truncated PNG: invalid_image: cannot decode: OSError (2.3s)
ok time limit (hangs 10 s, timeout 2 s): timeout(killed) (2.0s)
5 passed, 0 failed
[exit 0]