From bc05aaa9d968c720e724a1d2b9d449ed190c534e Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 30 Sep 2017 18:58:31 +0200 Subject: [PATCH] switched tokenQueue speed to 10 calls/sec, thus improving loading speeds. Still need to test for CPU load --- retroshare-gui/src/util/TokenQueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/util/TokenQueue.cpp b/retroshare-gui/src/util/TokenQueue.cpp index 74f9b35c9..3fa5e7ced 100644 --- a/retroshare-gui/src/util/TokenQueue.cpp +++ b/retroshare-gui/src/util/TokenQueue.cpp @@ -119,7 +119,7 @@ void TokenQueue::doPoll(float dt) void TokenQueue::pollRequests() { - double pollPeriod = 0.5; // max poll period. + double pollPeriod = 0.1; // max poll period. if (mRequests.empty()) { return;