Fix annoying joqqueue issue where jobs were blocked by unused channel

This commit is contained in:
Jamie Curnow committed 2024-11-13 08:03:10 +10:00
1 parent 61c41b8ec3
commit 050c087a51
2 files changed
+2 -10

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ var (
func Start() {
ctx, cancel = context.WithCancel(context.Background())
q := &Queue{
jobs: make(chan Job, 10),
jobs: make(chan Job, 50),
ctx: ctx,
cancel: cancel,
}