Commit 72a49ada by NitefullWind

1. 向服务端请求的超时时间设置为2分钟。

parent 6a96f8ff
...@@ -121,7 +121,7 @@ void FMVipForward::request(const QJsonObject &reqJob) ...@@ -121,7 +121,7 @@ void FMVipForward::request(const QJsonObject &reqJob)
QTimer timer; QTimer timer;
timer.setSingleShot(true); timer.setSingleShot(true);
connect(&timer, SIGNAL(timeout()),&loop,SLOT(quit())); connect(&timer, SIGNAL(timeout()),&loop,SLOT(quit()));
timer.start(1000 * 30); timer.start(1000 * 60 * 2);
loop.exec(); loop.exec();
if(timer.isActive()) if(timer.isActive())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment