mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Fire up the timer to clean inactive sessions
This commit is contained in:
parent
b4bca7cfb7
commit
562dd41ab2
1 changed files with 1 additions and 1 deletions
|
@ -87,8 +87,8 @@ AbstractWebApplication::AbstractWebApplication(QObject *parent)
|
|||
, session_(0)
|
||||
{
|
||||
QTimer *timer = new QTimer(this);
|
||||
timer->setInterval(60000); // 1 min.
|
||||
connect(timer, SIGNAL(timeout()), SLOT(removeInactiveSessions()));
|
||||
timer->start(60 * 1000); // 1 min.
|
||||
}
|
||||
|
||||
AbstractWebApplication::~AbstractWebApplication()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue