switched tokenQueue speed to 10 calls/sec, thus improving loading speeds. Still need to test for CPU load

This commit is contained in:
csoler 2017-09-30 18:58:31 +02:00
parent 65977c0be1
commit bc05aaa9d9

View File

@ -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;