mirror of https://bitbucket.org/ausocean/av.git
implemented some timing so that it doesn't start straight away
This commit is contained in:
parent
f0b3eeeb21
commit
0be8293ad9
|
@ -70,6 +70,7 @@ const (
|
||||||
defaultRunDuration = 2 * 43200
|
defaultRunDuration = 2 * 43200
|
||||||
noOfConfigconfigFlags = 19
|
noOfConfigconfigFlags = 19
|
||||||
revidStopTime = 5
|
revidStopTime = 5
|
||||||
|
prepTime = 20
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -219,6 +220,7 @@ func main() {
|
||||||
config.Timeout = *configFlags[timeoutPtr]
|
config.Timeout = *configFlags[timeoutPtr]
|
||||||
config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr]
|
config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr]
|
||||||
|
|
||||||
|
time.Sleep(time.Duration(prepTime) * time.Second)
|
||||||
createRevidInstance()
|
createRevidInstance()
|
||||||
revidInst.Start()
|
revidInst.Start()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue