1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Remove server query quota.

This commit is contained in:
Bartosz Taudul 2021-10-21 01:48:52 +02:00
parent 93b6fd72c3
commit 6c53c36bfe
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -1782,9 +1782,8 @@ void Profiler::Worker()
keepAlive = 0; keepAlive = 0;
} }
int quota = 500;
bool connActive = true; bool connActive = true;
while( quota-- && m_sock->HasData() ) while( m_sock->HasData() )
{ {
connActive = HandleServerQuery(); connActive = HandleServerQuery();
if( !connActive ) break; if( !connActive ) break;