aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterServer/UDP/BeaconChecker.pm
diff options
context:
space:
mode:
authorDarkelarious <darkelarious@333networks.com>2015-05-19 22:00:40 +0200
committerDarkelarious <darkelarious@333networks.com>2015-05-19 22:00:40 +0200
commit2c7d62f38944f61e7eafea155c6128521d16aed9 (patch)
treebd473e6fb9dbbf8e0fdc67b87f0a4ac251fada7b /lib/MasterServer/UDP/BeaconChecker.pm
parent534626943a0a5e251e5465376f3de3fb71b25e91 (diff)
downloadMasterServer-Perl-2c7d62f38944f61e7eafea155c6128521d16aed9.tar.gz
MasterServer-Perl-2c7d62f38944f61e7eafea155c6128521d16aed9.zip
Beta with support for Pg and SQLite
Diffstat (limited to 'lib/MasterServer/UDP/BeaconChecker.pm')
-rwxr-xr-xlib/MasterServer/UDP/BeaconChecker.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/MasterServer/UDP/BeaconChecker.pm b/lib/MasterServer/UDP/BeaconChecker.pm
index 98ee1e2..a99be72 100755
--- a/lib/MasterServer/UDP/BeaconChecker.pm
+++ b/lib/MasterServer/UDP/BeaconChecker.pm
@@ -80,10 +80,9 @@ sub beacon_checker {
# At this point, we are out of server entries. When new servers are
# added, they are immediately queried on the next round.
- # From here on, just count down until the cycle is complete.
+ # From here on, just count down until the cycle is complete and handle
+ # new entries while they are added to the list.
- # debug (spams badly)
- $self->log("debug_spam", "Checker timer: t=".(time - $q{start_time}));
}
);
@@ -105,7 +104,7 @@ sub query_udp_server {
my $buf = "";
# debug spamming
- $self->log("debug_spam", "Query server $ip:$port");
+ $self->log("udp", "Query server $ip:$port");
# connect with UDP server
my $udp_client; $udp_client = AnyEvent::Handle::UDP->new(