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:
parent
4d57d70082
commit
c673e4e340
1 changed files with 2 additions and 1 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue