diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_queue.cpp')
| -rw-r--r-- | protocols/VKontakte/src/vk_queue.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp index f0c0bce359..bea360df75 100644 --- a/protocols/VKontakte/src/vk_queue.cpp +++ b/protocols/VKontakte/src/vk_queue.cpp @@ -191,6 +191,10 @@ void CVkProto::WorkerThread(void*) // There can be maximum 3 requests to API methods per second from a client
// see https://vk.com/dev/api_requests
}
+ {
+ mir_cslock lck(m_csWorkThreadTimer);
+ m_tWorkThreadTimer = time(0);
+ }
ExecuteRequest(pReq);
}
}
|
