We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1380c6 + 65a8cb6 commit aef44b9Copy full SHA for aef44b9
aws-cpp-sdk-core/source/utils/threading/Executor.cpp
@@ -72,7 +72,7 @@ bool PooledThreadExecutor::SubmitToThread(std::function<void()>&& fn)
72
{
73
std::lock_guard<std::mutex> locker(m_queueLock);
74
75
- if (m_overflowPolicy == OverflowPolicy::REJECT_IMMEDIATELY && m_poolSize >= m_tasks.size())
+ if (m_overflowPolicy == OverflowPolicy::REJECT_IMMEDIATELY && m_tasks.size() >= m_poolSize)
76
77
return false;
78
}
0 commit comments