mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Lowered wait time in between threaded queries (bug 3740, r=dvander).
This commit is contained in:
parent
cb500636cc
commit
afc663a51a
@ -314,7 +314,7 @@ void StartFrame()
|
|||||||
{
|
{
|
||||||
if (g_pWorker && (g_lasttime < gpGlobals->time))
|
if (g_pWorker && (g_lasttime < gpGlobals->time))
|
||||||
{
|
{
|
||||||
g_lasttime = gpGlobals->time + 0.3f;
|
g_lasttime = gpGlobals->time + 0.05f;
|
||||||
g_QueueLock->Lock();
|
g_QueueLock->Lock();
|
||||||
size_t remaining = g_ThreadQueue.size();
|
size_t remaining = g_ThreadQueue.size();
|
||||||
if (remaining)
|
if (remaining)
|
||||||
|
@ -299,7 +299,7 @@ void StartFrame()
|
|||||||
{
|
{
|
||||||
if (g_pWorker && (g_lasttime < gpGlobals->time))
|
if (g_pWorker && (g_lasttime < gpGlobals->time))
|
||||||
{
|
{
|
||||||
g_lasttime = gpGlobals->time + 0.3f;
|
g_lasttime = gpGlobals->time + 0.05f;
|
||||||
g_QueueLock->Lock();
|
g_QueueLock->Lock();
|
||||||
size_t remaining = g_ThreadQueue.size();
|
size_t remaining = g_ThreadQueue.size();
|
||||||
if (remaining)
|
if (remaining)
|
||||||
|
Loading…
Reference in New Issue
Block a user