moonstream/crawlers/ldb/configs/settings.go

12 wiersze
215 B
Go

package configs
import (
"os"
"time"
)
// Database configs
var MOONSTREAM_DB_MAX_IDLE_CONNS int = 30
var MOONSTREAM_DB_CONN_MAX_LIFETIME = 30 * time.Minute
var MOONSTREAM_DB_URI = os.Getenv("MOONSTREAM_DB_URI")