forked from Wirlaburla/P3NG0
lower wait interval for packets to 1 second
This commit is contained in:
parent
464ea75483
commit
1873b660b9
|
@ -65,7 +65,7 @@ int main(int argc, char const* argv[]) {
|
||||||
autoInit();
|
autoInit();
|
||||||
while (autoOnline || roomOnline) {
|
while (autoOnline || roomOnline) {
|
||||||
while (!roomOnline) {} // We require the room but get disconnected from auto after awhile
|
while (!roomOnline) {} // We require the room but get disconnected from auto after awhile
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(2000));
|
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||||
if (bufferQueue.size() > 0) {
|
if (bufferQueue.size() > 0) {
|
||||||
if (debug) printf("debug: flushing buffer queue (%i packets)\n", bufferQueue.size());
|
if (debug) printf("debug: flushing buffer queue (%i packets)\n", bufferQueue.size());
|
||||||
for (QueuedPacket qp : bufferQueue) {
|
for (QueuedPacket qp : bufferQueue) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user