mirror of https://github.com/statping/statping
Update configs.go
parent
94ffc7b8c2
commit
48950a1674
|
@ -14,7 +14,7 @@ import (
|
|||
func LoadConfig() (*types.Config, error) {
|
||||
if os.Getenv("DB_CONN") != "" {
|
||||
utils.Log(1, "DB_CONN environment variable was found, sleeping for 30 seconds")
|
||||
//time.Sleep(30 * time.Second)
|
||||
time.Sleep(30 * time.Second)
|
||||
return LoadUsingEnv()
|
||||
}
|
||||
Configs = new(types.Config)
|
||||
|
|
Loading…
Reference in New Issue