server: drop unwired try_admit_rewrite / 503 admission surface

This commit is contained in:
Devin AI 2026-05-09 20:58:17 +00:00
parent 4bb7964af9
commit 6a3f0677ae
7 changed files with 12 additions and 109 deletions

View file

@ -342,9 +342,6 @@ pub enum ErrorCode {
/// 429 Too Many Requests — per-actor admission cap exceeded.
/// Clients should respect the `Retry-After` header.
TooManyRequests,
/// 503 Service Unavailable — global rewrite pool exhausted
/// (compaction, index build). Clients should retry later.
ServiceUnavailable,
Internal,
}