testable
This commit is contained in:
@@ -23,6 +23,10 @@ type Config struct {
|
||||
LogPayloadOnSuccess bool `env:"INGEST_LOG_PAYLOAD_ON_SUCCESS" envDefault:"false"`
|
||||
LogPayloadOnError bool `env:"INGEST_LOG_PAYLOAD_ON_ERROR" envDefault:"true"`
|
||||
|
||||
// RateLimitRPS caps requests per workspace per second. 0 disables the
|
||||
// limiter entirely (use for load tests; never in production).
|
||||
RateLimitRPS int `env:"INGEST_RATE_LIMIT_RPS" envDefault:"100"`
|
||||
|
||||
PostgresDSN string `env:"POSTGRES_DSN,required"`
|
||||
RedisAddr string `env:"REDIS_ADDR" envDefault:"localhost:6379"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user