From 796aea19e6923fd5a4947f29e7d6fdd2d6eabc4a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 28 Oct 2008 21:37:19 +0000 Subject: [PATCH] - Webui: refresh download list every 2 seconds to save cpu --- src/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 5910d24c2..2dcd3e615 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -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)