Whole-second form of a hint, or undefined when the header cannot carry it
honestly.
Retry-After has one-second resolution and is a floor, so a 200ms wait can
only be published as Retry-After: 1. That would park a compliant client
five times longer than necessary — worse than the backoff it would have
chosen on its own, which makes the header actively harmful at short waits.
So below one second Tyr publishes only x-admission-retry-after-ms and
leaves the client's own policy alone. Above it, rounding up costs at most
a few hundred milliseconds against a wait already measured in seconds, and
the header keeps its guarantee: a caller that obeys it never arrives before
capacity exists.
Whole-second form of a hint, or
undefinedwhen the header cannot carry it honestly.Retry-Afterhas one-second resolution and is a floor, so a 200ms wait can only be published asRetry-After: 1. That would park a compliant client five times longer than necessary — worse than the backoff it would have chosen on its own, which makes the header actively harmful at short waits.So below one second Tyr publishes only
x-admission-retry-after-msand leaves the client's own policy alone. Above it, rounding up costs at most a few hundred milliseconds against a wait already measured in seconds, and the header keeps its guarantee: a caller that obeys it never arrives before capacity exists.