X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=4e5c157f2a8fd47b79cf0c0e88d531b8df051fee;hb=5c53cd20ec1d1878651b89e82e21af979d9acd29;hp=87811af8457f11004dc972e114e56d728443d8b2;hpb=91a3d0439029d8bb76f3439aa9ecc0e699f5a195;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 87811af8..4e5c157f 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -89,11 +89,12 @@ use SysVar; use strict; -use Mojolicious 7.26; +# order here is important - DXDebug snarfs Carp et al so that Mojo errors go into the debug log +use DXDebug; +use Mojolicious 7.26; use Mojo::IOLoop; -use DXDebug; use Msg; use IntMsg; use Internet; @@ -146,6 +147,8 @@ use DXSql; use IsoTime; use BPQMsg; + + use Data::Dumper; use IO::File; use Fcntl ':flock'; @@ -634,6 +637,8 @@ our $io_disconnected; sub idle_loop { BPQMsg::process(); +# DXCommandmode::process(); # process ongoing command mode stuff +# DXProt::process(); # process ongoing ak1a pcxx stuff if (defined &Local::process) { eval { @@ -677,11 +682,11 @@ sub per_sec $systime_days = $days; $systime_daystart = $days * 86400; } + DXCommandmode::process(); # process ongoing command mode stuff + DXProt::process(); # process ongoing ak1a pcxx stuff IsoTime::update($systime); DXCron::process(); # do cron jobs - DXCommandmode::process(); # process ongoing command mode stuff DXXml::process(); - DXProt::process(); # process ongoing ak1a pcxx stuff DXConnect::process(); DXMsg::process(); DXDb::process(); @@ -689,7 +694,6 @@ sub per_sec DXDupe::process(); DXCron::process(); # do cron jobs IsoTime::update($systime); - DXProt::process(); # process ongoing ak1a pcxx stuff DXConnect::process(); DXUser::process(); AGWMsg::process();