Browse Source

- Webui: refresh download list every 2 seconds to save cpu

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
796aea19e6
  1. 2
      src/GUI.cpp

2
src/GUI.cpp

@ -1556,7 +1556,7 @@ bool GUI::initWebUi(QString username, QString password, int port) @@ -1556,7 +1556,7 @@ bool GUI::initWebUi(QString username, QString password, int port)
httpServer->close();
}
else
httpServer = new HttpServer(BTSession, 1000, this);
httpServer = new HttpServer(BTSession, 2000, this);
httpServer->setAuthorization(username, password);
bool success = httpServer->listen(QHostAddress::Any, port);
if (success)

Loading…
Cancel
Save