refactor(Server): remove unnecessary sleep in run loop
This commit is contained in:
parent
d562c5bcbf
commit
2d6543fb5a
@ -247,6 +247,6 @@ void Server::run()
|
|||||||
{
|
{
|
||||||
pollClients();
|
pollClients();
|
||||||
handleEpoll(events, MAX_EVENTS);
|
handleEpoll(events, MAX_EVENTS);
|
||||||
usleep(1000);
|
// usleep(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user