-
Notifications
You must be signed in to change notification settings - Fork 2
feat(gateway): circuit breaker and retry support per route #395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
7dd5cca
ae3ea5b
b7650dd
04a93f7
e278bfb
e02bf81
05bc0b9
8a36d44
d7d74b3
da4d086
595a61f
a971327
21fb825
ff2ec9a
1d3aa62
6a15437
2d1074c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,8 +41,12 @@ type CreateRouteParams struct { | |
| RequireTLS bool | ||
| AllowedCIDRs []string | ||
| BlockedCIDRs []string | ||
| MaxBodySize int64 | ||
| Priority int | ||
| MaxBodySize int64 | ||
| CircuitBreakerThreshold int | ||
| CircuitBreakerTimeout int64 | ||
| MaxRetries int | ||
| RetryTimeout int64 | ||
| Priority int | ||
|
Comment on lines
+44
to
+49
Comment on lines
+44
to
+49
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These options need an “unset” state, not plain ints.
🧩 Contract sketch- MaxBodySize int64
- CircuitBreakerThreshold int
- CircuitBreakerTimeout int64
- MaxRetries int
- RetryTimeout int64
- Priority int
+ MaxBodySize *int64
+ CircuitBreakerThreshold *int
+ CircuitBreakerTimeout *int64
+ MaxRetries *int
+ RetryTimeout *int64
+ Priority *intYou'd then default only 🤖 Prompt for AI Agents |
||
| } | ||
|
|
||
| // GatewayService provides business logic for managing the API gateway and ingress traffic. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.