• Matthew Slipper's avatar
    proxyd: Integrate custom rate limiter · 01ae6625
    Matthew Slipper authored
    Integrates the custom rate limiter in the previous PR into the rest of the application. Also takes the opportunity to clean up how we instantiate Redis clients so that we can share them among multiple different services.
    
    There are some config changes in this PR. Specifically, you must specify a `base_rate` and `base_interval` in the rate limit config.
    01ae6625
Name
Last commit
Last update
..
cmd/proxyd Loading commit data...
integration_tests Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
Dockerfile Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
backend.go Loading commit data...
backend_rate_limiter.go Loading commit data...
cache.go Loading commit data...
cache_test.go Loading commit data...
config.go Loading commit data...
entrypoint.sh Loading commit data...
errors.go Loading commit data...
example.config.toml Loading commit data...
frontend_rate_limiter.go Loading commit data...
frontend_rate_limiter_test.go Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
lvc.go Loading commit data...
methods.go Loading commit data...
metrics.go Loading commit data...
package.json Loading commit data...
proxyd.go Loading commit data...
redis.go Loading commit data...
rpc.go Loading commit data...
rpc_test.go Loading commit data...
server.go Loading commit data...
string_set.go Loading commit data...
tls.go Loading commit data...