grist-core icon indicating copy to clipboard operation
grist-core copied to clipboard

Force-reload may raise a 429 (TOO_MANY_REQUESTS) error

Open fflorent opened this issue 1 year ago • 3 comments

What happens

When a document has too many requests, one may want to force a document to be reopened. However, the /force-reload endpoint may raise a 429 (TOO_MANY_REQUESTS) error, because it uses the throttled middleware.

Suggestion

Don't use the throttle middleware for this endpoint. What do you think?

fflorent avatar Jul 16 '24 08:07 fflorent

Requesting feedback before starting implementation.

fflorent avatar Jul 16 '24 08:07 fflorent

Yes that makes sense!

paulfitz avatar Jul 16 '24 12:07 paulfitz

@paulfitz Thanks! :pray:

fflorent avatar Jul 16 '24 13:07 fflorent