Browse Source

Fire up the timer to clean inactive sessions

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
4e48408eaa
  1. 2
      src/webui/abstractwebapplication.cpp

2
src/webui/abstractwebapplication.cpp

@ -87,8 +87,8 @@ AbstractWebApplication::AbstractWebApplication(QObject *parent) @@ -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…
Cancel
Save