feat: enforce shared application resource quotas across namespaces

This commit is contained in:
2026-09-17 17:57:54 +08:00
parent 5c8825e4bc
commit 993786476e
43 changed files with 1606 additions and 49 deletions

View File

@@ -26,6 +26,7 @@ var (
IdempotencyConflict = New("IDEMPOTENCY_CONFLICT", "idempotency key was used with different content")
Unavailable = New("UNAVAILABLE", "service temporarily unavailable; retry using the original operation identity")
QueueFull = New("QUEUE_FULL", "queue unfinished task limit reached; retry later using the original identity")
ApplicationFull = New("APPLICATION_FULL", "application unfinished task limit reached; retry later using the original identity")
)
func Invalid(message string) error { return New("INVALID_ARGUMENT", message) }