diff options
author | Valery Piashchynski <[email protected]> | 2021-10-30 13:33:06 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-30 13:33:06 -0700 |
commit | b78558d0af7f813f81de0338400f99291932347f (patch) | |
tree | e71fcd3ed2d8bbc1bb4542290a11d5cb9730a4b1 /pool | |
parent | c8c3f9f113eae13aa37cf92043b288bb0c68a622 (diff) | |
parent | 1cac0d3efd40e8950004c8d953fb5d1f2d53197b (diff) |
[#839]: refactoring(eventsbus): add docs, udpate testsv2.6.0-alpha.2
[#839]: refactoring(eventsbus): add docs, udpate tests
Diffstat (limited to 'pool')
-rwxr-xr-x | pool/static_pool.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pool/static_pool.go b/pool/static_pool.go index 11112e72..a5c98eaa 100755 --- a/pool/static_pool.go +++ b/pool/static_pool.go @@ -200,7 +200,6 @@ func (sp *StaticPool) stopWorker(w worker.BaseProcess) { } // checkMaxJobs check for worker number of executions and kill workers if that number more than sp.cfg.MaxJobs -//go:inline func (sp *StaticPool) checkMaxJobs(w worker.BaseProcess) { if w.State().NumExecs() >= sp.cfg.MaxJobs { w.State().Set(worker.StateMaxJobsReached) |