From 2234c0821fe331679e4b63287b8ace15e385cad1 Mon Sep 17 00:00:00 2001 From: surendratiwari3 Date: Sun, 28 Jan 2024 13:57:58 +0530 Subject: [PATCH] removed unused task channel --- workerpool/workerpool.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/workerpool/workerpool.go b/workerpool/workerpool.go index 2b86e8d..cdc5b13 100644 --- a/workerpool/workerpool.go +++ b/workerpool/workerpool.go @@ -30,8 +30,6 @@ type WorkerPool struct { concurrency uint nameSpace string contextType reflect.Type - taskChannel chan task.Job - ackChannel chan uint64 // Channel to receive delivery tags for acknowledgments } type WorkerPoolOptions struct {