From 6119b7865f7890d9bfc627d35d8e1262c2690e9c Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Wed, 21 Mar 2018 11:24:58 +0500 Subject: VKontakte: longer timeouts - less api errors --- protocols/VKontakte/src/vk_queue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte/src') diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp index 016d3c40ea..ff6b62b9ab 100644 --- a/protocols/VKontakte/src/vk_queue.cpp +++ b/protocols/VKontakte/src/vk_queue.cpp @@ -164,7 +164,7 @@ void CVkProto::WorkerThread(void*) m_arRequestsQueue.remove(0); ULONG utime = GetTickCount(); - lWaitingTime = (utime - uTime[0]) > 1000 ? 0 : 1100 - (utime - uTime[0]); + lWaitingTime = (utime - uTime[0]) > 1500 ? 0 : 1500 - (utime - uTime[0]); if (!(pReq->m_bApiReq) || lWaitingTime < 0) lWaitingTime = 0; -- cgit v1.2.3