delay time = 60
This commit is contained in:
parent
1c1f556e24
commit
7630e90b90
2
main.go
2
main.go
@ -25,7 +25,7 @@ const (
|
|||||||
// flags
|
// flags
|
||||||
var configPath = flag.String("configPath", "config.json", "Path to config.json")
|
var configPath = flag.String("configPath", "config.json", "Path to config.json")
|
||||||
var version = "development"
|
var version = "development"
|
||||||
var delay time.Duration = 5 * time.Second
|
var delay time.Duration = 60 * time.Second
|
||||||
var conf = loadconfig(*configPath)
|
var conf = loadconfig(*configPath)
|
||||||
var ucDev = getDevices(conf.Unifi.UCDevicesURL)
|
var ucDev = getDevices(conf.Unifi.UCDevicesURL)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user