increated timeout limit for retrieving forums

This commit is contained in:
csoler 2018-12-02 22:49:16 +01:00
parent 60e5595618
commit 49dc9bcae2
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -478,7 +478,7 @@ bool p3GxsForums::getForumsContent(
RsTokReqOptions opts; RsTokReqOptions opts;
opts.mReqType = GXS_REQUEST_TYPE_MSG_DATA; opts.mReqType = GXS_REQUEST_TYPE_MSG_DATA;
if( !requestMsgInfo(token, opts, forumIds) if( !requestMsgInfo(token, opts, forumIds)
|| waitToken(token) != RsTokenService::COMPLETE ) return false; || waitToken(token,std::chrono::milliseconds(5000)) != RsTokenService::COMPLETE ) return false;
return getMsgData(token, messages); return getMsgData(token, messages);
} }