UPnP basic logging messages are more frequent than intended (#2839)

Thanks Serg for finding this, was changed by accident in https://github.com/nanocurrency/nano-node/pull/2837 .

UPnP device discovery from every ~1 minute to every ~15 minutes
This commit is contained in:
Guilherme Lawless 2020-07-10 11:33:24 +01:00 committed by GitHub
commit c673e4e340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,7 +173,7 @@ void nano::port_mapping::check_mapping_loop ()
}
else
{
if (check_count++ < 10)
if (check_count < 10)
{
node.logger.always_log (boost::str (boost::format ("UPnP No IGD devices found")));
}
@ -182,6 +182,7 @@ void nano::port_mapping::check_mapping_loop ()
node_l->port_mapping.check_mapping_loop ();
});
}
++check_count;
}
void nano::port_mapping::stop ()