forked from ALHP/ALHP.GO
added delay for builds to start before waiting for builds
This commit is contained in:
3
main.go
3
main.go
@@ -741,6 +741,7 @@ func (b *BuildManager) syncWorker() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
b.parseWG.Wait()
|
b.parseWG.Wait()
|
||||||
|
time.Sleep(time.Second * 70)
|
||||||
b.buildWG.Wait()
|
b.buildWG.Wait()
|
||||||
|
|
||||||
if !b.exit {
|
if !b.exit {
|
||||||
@@ -752,7 +753,7 @@ func (b *BuildManager) syncWorker() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
time.Sleep(time.Duration(*checkInterval) * time.Minute)
|
time.Sleep(time.Duration(*checkInterval-1) * time.Minute)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user