Skip to content

Commit a9789f5

Browse files
Merge pull request #66 from mattfelsen/0.9.0-win-latency-fix
Reduce waitMillis to 0 to fix latency
2 parents 1b22ca3 + 9e93be8 commit a9789f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libs/ofxLibwebsockets/src/Client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace ofxLibwebsockets {
1313
Client::Client(){
1414
context = NULL;
1515
connection = NULL;
16-
waitMillis = 50;
16+
waitMillis = 0;
1717
//count_pollfds = 0;
1818
reactors.push_back(this);
1919

libs/ofxLibwebsockets/src/Server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace ofxLibwebsockets {
1616
//--------------------------------------------------------------
1717
Server::Server(){
1818
context = NULL;
19-
waitMillis = 50;
19+
waitMillis = 0;
2020
reactors.push_back(this);
2121

2222
defaultOptions = defaultServerOptions();

0 commit comments

Comments
 (0)