Todo 507. POST /sessions/relay now consumes one unit of a per-account budget (key relay:) in the Postgres rate limiter before minting. Default 30 mints per 300 s, overridable by ENCLAVE_RELAY_MINTS_PER_ACCOUNT and ENCLAVE_RELAY_MINT_WINDOW_SECONDS. Over budget answers 429. The sweep keeps the longest window including this one.
Tests: Tests/EnclaveAccountsKitTests/RelayMintPolicyTests.swift (30 pass, 31st refused, other accounts unaffected, budget returns after the window).
Todo 507. POST /sessions/relay now consumes one unit of a per-account budget (key relay:<sub>) in the Postgres rate limiter before minting. Default 30 mints per 300 s, overridable by ENCLAVE_RELAY_MINTS_PER_ACCOUNT and ENCLAVE_RELAY_MINT_WINDOW_SECONDS. Over budget answers 429. The sweep keeps the longest window including this one.
Tests: Tests/EnclaveAccountsKitTests/RelayMintPolicyTests.swift (30 pass, 31st refused, other accounts unaffected, budget returns after the window).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Todo 507. POST /sessions/relay now consumes one unit of a per-account budget (key relay:) in the Postgres rate limiter before minting. Default 30 mints per 300 s, overridable by ENCLAVE_RELAY_MINTS_PER_ACCOUNT and ENCLAVE_RELAY_MINT_WINDOW_SECONDS. Over budget answers 429. The sweep keeps the longest window including this one.
Tests: Tests/EnclaveAccountsKitTests/RelayMintPolicyTests.swift (30 pass, 31st refused, other accounts unaffected, budget returns after the window).
🤖 Generated with Claude Code