added delay for builds to start before waiting for builds

This commit is contained in:
2022-01-21 12:56:41 +01:00
parent 761cc47c3a
commit b9dec56a31

View File

@@ -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)
} }
} }