summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-03-19 01:36:11 +0500
committerElzorFox <elzorfox@ya.ru>2017-03-19 01:37:22 +0500
commitca65019975d21b5cd96b71499b6d675c3b11e2a9 (patch)
treea57248dfde866cfbcbd85d65b037afe8f78a9d08 /protocols/VKontakte/src/misc.cpp
parent46cb46859ce27e2d23da0bcbecbe92da7b349b26 (diff)
VKontakte:
fix sending unneeded GetServerHistory requestes tempory (?) increase timeout between API requests
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 6938f7fdb2..284ff08032 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -317,7 +317,7 @@ bool CVkProto::CheckJsonResult(AsyncHttpRequest *pReq, const JSONNode &jnNode)
case VKERR_INTERNAL_SERVER_ERR:
if (pReq->m_iRetry > 0) {
pReq->bNeedsRestart = true;
- Sleep(500); //Pause for fix err
+ Sleep(1000); //Pause for fix err
debugLogA("CVkProto::CheckJsonResult Retry = %d", pReq->m_iRetry);
pReq->m_iRetry--;
}