Cleanup jinja formatting and fix log spam

This commit is contained in:
puvvadar
2021-05-20 10:46:48 -07:00
parent 2452149e7d
commit 7ecb00cca1
5 changed files with 75 additions and 57 deletions
@@ -49,6 +49,12 @@ namespace AzNetworking
m_readerFdSet = m_sourceFdSet;
m_writerFdSet = m_sourceFdSet;
if(static_cast<int32_t>(m_maxFd) <= 0 && m_socketFds.empty())
{
// There are no available sockets to process
return;
}
struct timeval tv = { 0, static_cast<int32_t>(maxBlockMs) * 1000 };
const int32_t selectResult = ::select(static_cast<int32_t>(m_maxFd) + 1, &m_readerFdSet, &m_writerFdSet, nullptr, &tv);
if (selectResult < 0)