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:
parent
d1b4ce00e1
commit
c9388ee536
@ -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);
|
__guacd_sleep(GUAC_SERVER_MESSAGE_HANDLE_FREQUENCY);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user