Removing forced sleep between message handling. Can cause excess delays if handle_messages handles only one message and there are multiple messages waiting / piling up independent of handle frequency.

This commit is contained in:
Michael Jumper 2011-11-28 02:29:05 -08:00
parent d1b4ce00e1
commit c9388ee536

View File

@ -135,7 +135,8 @@ void* __guac_client_output_thread(void* data) {
}
/* Sleep before handling more messages */
/* Do not spin while waiting for old sync */
else
__guacd_sleep(GUAC_SERVER_MESSAGE_HANDLE_FREQUENCY);
}