kopia lustrzana https://github.com/bugout-dev/moonstream
12 wiersze
215 B
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")
|