Skip to content

graphqlbackend: Add a soft rate limiter

Warren Gifford requested to merge soft-rate-limiting into main

Created by: ryanslade

This adds a rate limiter that can be configured at runtime from site config. It is a soft limiter in that it does not actually stop requests that exceed the rate limit but instead just instruments to Honeycomb.

It's backed by our Redis cache instance.

Closes: https://github.com/sourcegraph/sourcegraph/issues/18100

Merge request reports

Loading