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