started new logger output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sebastian Frank
2019-03-27 13:52:22 +01:00
parent 5d6d03702e
commit 7695f42e20
4 changed files with 58 additions and 28 deletions

View File

@@ -3,7 +3,6 @@ package jobm
import (
"runtime"
"sync"
"time"
"gitbase.de/apairon/mark2web/pkg/progress"
)
@@ -52,7 +51,7 @@ func Enqueue(jobs ...Job) {
// Wait will wait for all jobs to finish
func Wait() {
close(jobChan)
time.Sleep(time.Millisecond * 500)
progress.Stop()
wg.Wait()
}