diff options
author | Wolfy-J <[email protected]> | 2018-06-10 17:18:23 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-10 17:18:23 +0300 |
commit | 094a4c211022b9446ef988c74c546ad6efb09722 (patch) | |
tree | 603ade627491960108154d6301868c9b881cd101 /static_pool_test.go | |
parent | 232aa8f3c20a060e556ab431467f4f7b3f83bfbf (diff) |
http service
Diffstat (limited to 'static_pool_test.go')
-rw-r--r-- | static_pool_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static_pool_test.go b/static_pool_test.go index d9fa75cd..cf3af4f6 100644 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -237,7 +237,7 @@ func Test_StaticPool_Replace_Worker(t *testing.T) { NewPipeFactory(), Config{ NumWorkers: 1, - MaxExecutions: 1, + MaxJobs: 1, AllocateTimeout: time.Second, DestroyTimeout: time.Second, }, @@ -364,7 +364,7 @@ func Benchmark_Pool_Echo_Replaced(b *testing.B) { NewPipeFactory(), Config{ NumWorkers: 1, - MaxExecutions: 1, + MaxJobs: 1, AllocateTimeout: time.Second, DestroyTimeout: time.Second, }, |