# PIHA-specific overrides for kb-query (KB module 5, phase 4). # # FastAPI + uvicorn, stateless (no local DB/queue) -- same weight class as # llm-gateway (~256m). Kept off oom_score_adj: -900 -- that's reserved for # control-plane/agent processes that must never be an OOM victim; kb-query is # a search API, restart-on-OOM (default cgroup behaviour) is an acceptable # failure mode, unlike for the agents that watch the fleet. services: kb-query: mem_limit: 256m