configs
This commit is contained in:
parent
2f0f949784
commit
3704119064
@ -44,7 +44,6 @@ type MetricsConfig struct {
|
||||
|
||||
type RateLimitConfig struct {
|
||||
UseRedis bool `toml:"use_redis"`
|
||||
EnableBackendRateLimiter bool `toml:"enable_backend_rate_limiter"`
|
||||
BaseRate int `toml:"base_rate"`
|
||||
BaseInterval TOMLDuration `toml:"base_interval"`
|
||||
ExemptOrigins []string `toml:"exempt_origins"`
|
||||
|
@ -16,6 +16,3 @@ backends = ["good"]
|
||||
|
||||
[rpc_method_mappings]
|
||||
eth_chainId = "main"
|
||||
|
||||
[rate_limit]
|
||||
enable_backend_rate_limiter = true
|
@ -20,6 +20,3 @@ backends = ["bad", "good"]
|
||||
|
||||
[rpc_method_mappings]
|
||||
eth_chainId = "main"
|
||||
|
||||
[rate_limit]
|
||||
enable_backend_rate_limiter = true
|
@ -26,6 +26,3 @@ backends = ["good"]
|
||||
|
||||
[rpc_method_mappings]
|
||||
eth_chainId = "main"
|
||||
|
||||
[rate_limit]
|
||||
enable_backend_rate_limiter = true
|
Loading…
Reference in New Issue
Block a user