summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2018-03-21 11:24:58 +0500
committerElzorFox <elzorfox@ya.ru>2018-03-21 11:24:58 +0500
commit6119b7865f7890d9bfc627d35d8e1262c2690e9c (patch)
treeaab01b3a1049bfba20e02f93475d5637551bdc87 /protocols/VKontakte
parentb987b7a8e5a78ff3cd63da062917b1c5fce91cc2 (diff)
VKontakte: longer timeouts - less api errors
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp2
1 files changed, 1 insertions, 1 deletions
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;