diff options
author | Valery Piashchynski <[email protected]> | 2021-02-04 12:26:16 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-04 12:26:16 +0300 |
commit | b9c9909b98c1b3e15421a4bcad9e8fcc01332d37 (patch) | |
tree | b969808a6bdd67bbb566421a2158a51c9de3713e /pkg/pool/supervisor_test.go | |
parent | 8a8d9d7c64226397792e8f1aa7cc607ab413906e (diff) | |
parent | a902a06e670d70b0f806899765bdb206977e7698 (diff) |
Merge pull request #526 from spiral/fix/memory_leaksv2.0.0-beta.24
bug(leak): workers memory leak
Diffstat (limited to 'pkg/pool/supervisor_test.go')
-rw-r--r-- | pkg/pool/supervisor_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pool/supervisor_test.go b/pkg/pool/supervisor_test.go index c67d5d91..cbe9f5cb 100644 --- a/pkg/pool/supervisor_test.go +++ b/pkg/pool/supervisor_test.go @@ -210,7 +210,7 @@ func TestSupervisedPool_MaxMemoryReached(t *testing.T) { }, } - block := make(chan struct{}, 1) + block := make(chan struct{}, 10) listener := func(event interface{}) { if ev, ok := event.(events.PoolEvent); ok { if ev.Event == events.EventMaxMemory { |