Skip to main content

note_token_limit

Function note_token_limit 

Source
pub fn note_token_limit(
    store: &CloudStore,
    error: CloudError,
    now: UtcDateTime,
) -> CloudError
Expand description

Record a 429 rate_limited of the token mint: every process of this machine waits rate_wait before it mints again. Any other error is left alone. Returns the error unchanged.