Without the deferral the cron-driven ETS flush GenServer fires every 7.5s alongside Prometheus scrapes, calls PromEx.get_metrics in a Task, and dies with `Task.await ... time out` (hardcoded 10s) under contention. Mirrors upstream PromEx.Plug, which calls defer_ets_flush after a successful render specifically to suppress the cron while scraping is healthy. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||