mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Webui: refresh download list every 2 seconds to save cpu
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user