| 31 | using Clock = std::chrono::steady_clock; |
| 32 | |
| 33 | // Per-request override for the busy timeout. Absent means "use the model's |
| 34 | // configured ceiling"; a value is clamped to that ceiling by resolve_busy_timeout_ms |
| 35 | // so a client can shorten its own wait but never weaken the guard. |
| 36 | std::optional<int> parse_busy_timeout_override(const Value & body) { |
| 37 | const auto * value = body.find("busy_timeout_ms"); |
| 38 | if (value == nullptr) { |
no outgoing calls
no test coverage detected