Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Add multi worker pool #181

Closed
wants to merge 2 commits into from
Closed

Add multi worker pool #181

wants to merge 2 commits into from

Conversation

arnikola
Copy link
Contributor

@arnikola arnikola commented Jun 6, 2018

No description provided.

@codecov
Copy link

codecov bot commented Jun 6, 2018

Codecov Report

Merging #181 into master will increase coverage by 0.08%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
+ Coverage   78.19%   78.27%   +0.08%     
==========================================
  Files          86       87       +1     
  Lines        3518     3531      +13     
==========================================
+ Hits         2751     2764      +13     
  Misses        699      699              
  Partials       68       68

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 647a4a0...d5c2e0e. Read the comment docs.

Copy link
Contributor

@martin-mao martin-mao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


type multiWorkerPool struct {
poolCh chan WorkerPool
poolSize int
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Call this inner pool size as not to confuse whether you're referring to how many pools are in the multi pool.

@arnikola
Copy link
Contributor Author

arnikola commented Jun 7, 2018

This may not be necessary, Object pool should be sufficient for what's required, and the cast isn't incurring too bad a cost.

@arnikola
Copy link
Contributor Author

Closing this as it's not necessary for the current applications

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants