X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=78f2f594b02706bcf7e44b1ffeaa4fbb9ad0c672;hb=4f0fa78eb7cb88eab411bb5630a2f33514a74a20;hp=9e14396b9018ed5a4d1f7e66173e5174113a3636;hpb=abbcfa7500858a2eba4135b0af5db9f3fca8d68e;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 9e14396b..78f2f594 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,8 +637,8 @@ our $io_disconnected; sub idle_loop { BPQMsg::process(); - DXCommandmode::process(); # process ongoing command mode stuff - DXProt::process(); # process ongoing ak1a pcxx stuff +# DXCommandmode::process(); # process ongoing command mode stuff +# DXProt::process(); # process ongoing ak1a pcxx stuff if (defined &Local::process) { eval { @@ -680,6 +683,8 @@ sub per_sec $systime_daystart = $days * 86400; } IsoTime::update($systime); + DXCommandmode::process(); # process ongoing command mode stuff + DXProt::process(); # process ongoing ak1a pcxx stuff DXCron::process(); # do cron jobs DXXml::process(); DXConnect::process();