defaultMaxWait

The longest a call waits for a budget permit before it fails with HttpFailure.BudgetExhausted, which carries the wait the call would have needed. Defaults to 5 seconds (DEFAULT_MAX_WAIT), long enough to ride out a burst over a window of a few seconds and short enough that a person waiting on the call sees the failure before the transport's call timeout is added to it: a call's worst-case latency is this value plus the call timeout. A wait for a window of a minute or longer, or for a server-requested pause, is normally longer and fails at once. Use Duration.ZERO to never wait and Duration.INFINITE to wait as long as the plan needs (up to the budget's pause cap). A response-cache load shared by several callers waits with the cap of the caller that started it. Meaningful only with a budget that waits; CallBudget.Unlimited grants at once. A per-call CallSpec.maxWait overrides it. Not negative.