Oleksandr Riabyi
08/15/2025, 3:39 PMMarvin
08/15/2025, 3:39 PMMarvin
08/15/2025, 3:40 PMPREFECT_SERVER_SERVICES_EVENT_PERSISTER_ENABLED=false
- Or in a server config file:
server.services.event_persister.enabled = false
- Some deployments still use the older prefix; if you see “API” in your config, use:
PREFECT_API_SERVICES_EVENT_PERSISTER_ENABLED=false
- Docs: Settings reference and Event persister service
Prefect Cloud
- You can’t turn off Cloud’s event persistence at the account level.
- If your goal is to stop emitting events from your runs, set the runtime to not send them (e.g., via an env var on your worker/flow). If you want, tell me how you’re running your flows (worker type, container, etc.) and I’ll give you the exact knob for your setup.
Can you confirm whether you’re on Cloud or self-hosted (and how you’re deploying the server/worker)? I’ll tailor the exact steps.