Speed up worker requeue
This commit is contained in:
parent
fd9e9418b2
commit
bc330a258e
@ -80,7 +80,7 @@ func ProcessNext() error {
|
||||
return true
|
||||
})
|
||||
if item == nil {
|
||||
return errors.New("no packages in queue")
|
||||
return nil
|
||||
}
|
||||
err := UpdateBuildFile(*item)
|
||||
if err != nil {
|
||||
|
@ -123,7 +123,7 @@ func processQueueAndStatus(ctx context.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
time.Sleep(10 * time.Second)
|
||||
time.Sleep(1500 * time.Millisecond)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user