Skip to content

Commit

Permalink
UPnP basic logging messages are more frequent than intended (#2839)
Browse files Browse the repository at this point in the history
Thanks Serg for finding this, was changed by accident in #2837 .

UPnP device discovery from every ~1 minute to every ~15 minutes
  • Loading branch information
guilhermelawless committed Jul 13, 2020
1 parent cd4db79 commit d7d777a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nano/node/portmapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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")));
}
Expand All @@ -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 ()
Expand Down

0 comments on commit d7d777a

Please sign in to comment.