From 18fc4c931e75d8de804c601b46dc8c8b339db3d9 Mon Sep 17 00:00:00 2001 From: Darkelarious Date: Mon, 25 Sep 2017 22:41:59 +0200 Subject: game statistics for all servers, numerous small fixes --- lib/MasterServer/Core/Schedulers.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/MasterServer/Core/Schedulers.pm') diff --git a/lib/MasterServer/Core/Schedulers.pm b/lib/MasterServer/Core/Schedulers.pm index 230a423..fa47d11 100755 --- a/lib/MasterServer/Core/Schedulers.pm +++ b/lib/MasterServer/Core/Schedulers.pm @@ -18,7 +18,7 @@ sub long_periodic_tasks { return AnyEvent->timer ( after => 90, # grace time receiving beacons - interval => 3600, + interval => 1800, cb => sub { # update Killing Floor stats @@ -37,8 +37,9 @@ sub long_periodic_tasks { # get serverlist my $masterserverlist = $self->get_server( - updated => 7200, gamename => "333networks", + $self->{firstrun} ? ( + updated => 7200 ) : (), ); foreach my $ms (@{$masterserverlist}) { @@ -53,7 +54,7 @@ sub long_periodic_tasks { # do NOT reset $t, keep padding time -- you should not have more than 300 # entries in applets/syncer in total anyway. - # Query Epic Games-based UCC applets periodically to get an additional + # Query Epic Games-alike applets periodically to get an additional # list of online UT, Unreal and other game servers. if ($self->{master_applet_enabled}) { -- cgit v1.2.3