Added default idle timeout
@@ -22,11 +22,11 @@ type Specification struct {
KeyPathTLS string `envconfig:"KEY_PATH"`
// Flush interval for upgraded Proxy connections
- BackendFlushInterval time.Duration
+ BackendFlushInterval time.Duration `envconfig:"BACKEND_FLUSH_INTERVAL" default:"20ms"`
// Defines the time period of how often the idle connections maintained
// by the proxy are closed.
- CloseIdleConnsPeriod time.Duration
+ CloseIdleConnsPeriod time.Duration `envconfig:"CLOSE_IDLE_CONNS_PERIOD"`
Database Database
Statsd Statsd
