From ca65019975d21b5cd96b71499b6d675c3b11e2a9 Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Sun, 19 Mar 2017 01:36:11 +0500 Subject: VKontakte: fix sending unneeded GetServerHistory requestes tempory (?) increase timeout between API requests --- protocols/VKontakte/src/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte/src/misc.cpp') 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--; } -- cgit v1.2.3