From afc663a51abe3c153a7b07bd267028e046f80aa2 Mon Sep 17 00:00:00 2001 From: Hawk552 Date: Tue, 27 Apr 2010 00:24:50 -0700 Subject: [PATCH] Lowered wait time in between threaded queries (bug 3740, r=dvander). --- dlls/mysqlx/threading.cpp | 2 +- dlls/sqlite/threading.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mysqlx/threading.cpp b/dlls/mysqlx/threading.cpp index 3f5f772e..75698473 100644 --- a/dlls/mysqlx/threading.cpp +++ b/dlls/mysqlx/threading.cpp @@ -314,7 +314,7 @@ void StartFrame() { if (g_pWorker && (g_lasttime < gpGlobals->time)) { - g_lasttime = gpGlobals->time + 0.3f; + g_lasttime = gpGlobals->time + 0.05f; g_QueueLock->Lock(); size_t remaining = g_ThreadQueue.size(); if (remaining) diff --git a/dlls/sqlite/threading.cpp b/dlls/sqlite/threading.cpp index fb4d9f0e..b7a852a1 100644 --- a/dlls/sqlite/threading.cpp +++ b/dlls/sqlite/threading.cpp @@ -299,7 +299,7 @@ void StartFrame() { if (g_pWorker && (g_lasttime < gpGlobals->time)) { - g_lasttime = gpGlobals->time + 0.3f; + g_lasttime = gpGlobals->time + 0.05f; g_QueueLock->Lock(); size_t remaining = g_ThreadQueue.size(); if (remaining)