type ConcurrencyConfig struct {
DatabaseConcurrency int `env:"FDB_CONCURRENCY" envDefault:"10000"`
ECRecoverConcurrency int `env:"EC_CONCURRENCY" envDefault:"-1"`
MaxProc int `env:"GOMAXPROCS" envDefault:"-1"`
}
type HTTPConfig struct {
Port int `env:"PORT" envDefault:"3001"`
HTTPConcurrency int `env:"HTTP_CONCURRENCY" envDefault:"50000"`
MaxConnectionsPerIP int `env:"HTTP_MAXCONNECTIONS" envDefault:"50000"`
MaxBodySize int `env:"HTTP_MAXBODYSIZE" envDefault:"5000"`
}