cached webrequests

This commit is contained in:
Sebastian Frank
2019-03-25 15:07:02 +01:00
parent 267d1010bb
commit 234137f22f
6 changed files with 107 additions and 61 deletions

View File

@@ -51,8 +51,8 @@ func Enqueue(jobs ...Job) {
// Wait will wait for all jobs to finish
func Wait() {
time.Sleep(time.Millisecond * 300)
close(jobChan)
time.Sleep(time.Millisecond * 500)
wg.Wait()
}