Debian Codegraph @

debian/patches/fix-async-fn-call.patch

raw
1 From: Maytham Alsudany <[email protected]>
2 Forwarded: not-needed
3 Description: Fix async function call
4 This package's go.mod references an unreleased commit from protonmail-gluon,
5 so this patch removes the last string argument, which is not present in the
6 latest release of protonmail-gluon.
7
8 --- a/pool.go
9 +++ b/pool.go
10 @@ -25,7 +25,7 @@
11 // New returns a new pool.
12 func NewPool[In comparable, Out any](size int, panicHandler async.PanicHandler, work func(context.Context, In) (Out, error)) *Pool[In, Out] {
13 pool := &Pool[In, Out]{
14 - queue: async.NewQueuedChannel[*job[In, Out]](0, 0, panicHandler, "gpa-pool"),
15 + queue: async.NewQueuedChannel[*job[In, Out]](0, 0, panicHandler),
16 }
17
18 for i := 0; i < size; i++ {