You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit a 500 in production recently when a rate limit was tripped. I can work around it with a custom response builder.
I'm confused about io.staticweb.rate-limit.responses/add-retry-after-header: when I went logging to debug, it seems retry-after here is a java.time.Instant, not a java.time.Duration.
That fix works, but the docs and tests assume that a Duration will be passed to add-retry-after-header. I think it is better to do the Instant to Duration conversion in read-quota-state, which I've done in a3921da. Does latest master fix the issue for you?
I hit a 500 in production recently when a rate limit was tripped. I can work around it with a custom response builder.
I'm confused about
io.staticweb.rate-limit.responses/add-retry-after-header
: when I went logging to debug, it seemsretry-after
here is ajava.time.Instant
, not ajava.time.Duration
.rgm@f764f8e
I can turn this into a PR if it's helpful and I'm actually correct.
The text was updated successfully, but these errors were encountered: