Simplify worker pool

This commit is contained in:
Deluan
2020-12-15 20:46:52 -05:00
parent fc4ddee122
commit 29817db9f2
4 changed files with 36 additions and 65 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ var _ = Describe("Pool", func() {
BeforeEach(func() {
processed = nil
pool, _ = NewPool("test", 2, &testItem{}, execute)
pool, _ = NewPool("test", 2, execute)
})
It("processes items", func() {