fix(worker): V1-2.3 hostile corpus through verify, verdict and memory caps aligned

This commit is contained in:
bchanot committed 2026-11-01 17:55:49 +01:00
1 parent 7043d39ae0
commit 6aa85fe7e4
7 files changed
+67 -10

No files matched your search

+3 -2
View File
@@ -42,7 +42,8 @@ services:
# Sheet verification worker (V1-2.3, V1-2 contract §6.4): the same image and hardening as
# `worker`, the verification loop only (no avatar, no sweep). Its `verify` child is capped
# at 1 GiB of address space (crates/worker/src/limits.rs). Started only with the `worker`
# at 1 GiB of address space (crates/worker/src/limits.rs): the container keeps room for it
# and the parent, so the child's own limit binds first. Started only with the `worker`
# profile: `docker compose --profile worker up -d worker-verify`; never on DEV.
worker-verify:
container_name: faunosteo_worker_verify
@@ -55,7 +56,7 @@ services:
cap_drop: [ALL]
security_opt:
- no-new-privileges:true
mem_limit: 512m
mem_limit: 1280m
cpus: 1
pids_limit: 64
networks: