fix: fix wrong env var name

This commit is contained in:
JustSong
2023-06-27 23:34:23 +08:00
parent 737672fb0b
commit 51f19470bc
3 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ var RootUserEmail = ""
var IsMasterNode = os.Getenv("NODE_TYPE") != "slave"
var requestInterval, _ = strconv.Atoi(os.Getenv("REQUEST_INTERVAL"))
var requestInterval, _ = strconv.Atoi(os.Getenv("POLLING_INTERVAL"))
var RequestInterval = time.Duration(requestInterval) * time.Second
const (