Commit 290a1abd 刘韬

加大服务器通讯超时

1 个父辈 c7e2e058
......@@ -319,13 +319,13 @@ namespace DeviceLibrary
printlog = true;
}
Operation resultOperation = HttpHelper.Post(GetPostApi(), lineOperation, 700, printlog);
Operation resultOperation = HttpHelper.Post(GetPostApi(), lineOperation, 1700, printlog);
if (resultOperation != null)
getthtime = 0;
//LogUtil.info(JsonHelper.SerializeObject(resultOperation.data));
ResultProcess(resultOperation);
TimeSpan span = DateTime.Now - time;
if (span.TotalMilliseconds > 700)
if (span.TotalMilliseconds > 1700)
{
LogUtil.info(StoreName + "TimerProcess[" + span.TotalMilliseconds + "]");
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!