Github user jeking3 commented on a diff in the pull request:

    https://github.com/apache/thrift/pull/1103#discussion_r81470274
  
    --- Diff: lib/cpp/src/thrift/concurrency/ThreadManager.cpp ---
    @@ -339,103 +357,88 @@ void ThreadManager::Impl::addWorker(size_t value) {
         idMap_.insert(std::pair<const Thread::id_t, shared_ptr<Thread> 
>((*ix)->getId(), *ix));
    --- End diff --
    
    This means canSleep() will always return true, which is correct; when 
adding a task without a timeout you will get TooManyPendingTasksException.  
When adding a task with a timeout you may get a TimedOutException.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to