diff --git a/buildqueue/queue.go b/buildqueue/queue.go index 091f091..18911d5 100644 --- a/buildqueue/queue.go +++ b/buildqueue/queue.go @@ -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 { diff --git a/buildqueue/worker.go b/buildqueue/worker.go index 70be664..e119679 100644 --- a/buildqueue/worker.go +++ b/buildqueue/worker.go @@ -123,7 +123,7 @@ func processQueueAndStatus(ctx context.Context) { } } - time.Sleep(10 * time.Second) + time.Sleep(1500 * time.Millisecond) } } }