mirror of
https://github.com/Telecominfraproject/wlan-cloud-owls.git
synced 2026-03-20 03:40:28 +00:00
18 lines
306 B
C++
18 lines
306 B
C++
//
|
|
// Created by stephane bourque on 2021-07-21.
|
|
//
|
|
|
|
#include "Dashboard.h"
|
|
#include "framework/utils.h"
|
|
|
|
namespace OpenWifi {
|
|
void OWLSDashboard::Create() {
|
|
uint64_t Now = Utils::Now();
|
|
|
|
if (LastRun_ == 0 || (Now - LastRun_) > 120) {
|
|
DB_.reset();
|
|
LastRun_ = Now;
|
|
}
|
|
}
|
|
} // namespace OpenWifi
|