mirror of
https://github.com/Telecominfraproject/wlan-cloud-analytics.git
synced 2026-03-20 03:39:59 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -136,7 +136,8 @@ namespace OpenWifi {
|
||||
auto i = Services_.begin();
|
||||
auto now = Utils::Now();
|
||||
for (; i != Services_.end();) {
|
||||
if ((now - i->second.LastUpdate) > 60) {
|
||||
if ((now - i->second.LastUpdate) > 120) {
|
||||
poco_warning(logger(), fmt::format("ZombieService: Removing service {}, ", i->second.PublicEndPoint));
|
||||
i = Services_.erase(i);
|
||||
} else
|
||||
++i;
|
||||
|
||||
Reference in New Issue
Block a user