← Back to team overview

touch-packages team mailing list archive

[Bug 1360281] Re: Two-way invoke thread pool is limited

 

** Project changed: unity-scopes-api => unity-scopes-api (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1360281

Title:
  Two-way invoke thread pool is limited

Status in “unity-scopes-api” package in Ubuntu:
  New

Bug description:
  In ZmqMiddleware::start() we assign the size of twoway_invokers_ to 8
  which can at most handle 5 layers in a scope aggregating hierarchy.
  I'm sure this is fine for 99% of scopes but we still run the risk of
  hitting this limit because... well... its limited.

  Perhaps we could redesign our thread pool class to maintain a minimum
  number of threads that we spin up on creation, then allow for it to
  grow if all are busy and another job arrives?

  Just a suggestion. We can discuss this further when we have some time.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1360281/+subscriptions