X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=16458073b837bf7005718fac05fe2b66e5af7aa6;hb=892f669f9791273b2cb73d7421184f83acd5c609;hp=1fa2806a72f107cbe2d363a7305b6a495648502d;hpb=50f6466ca2dff82ca470a4abe327d741cffef61a;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 1fa2806a..16458073 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -86,6 +86,7 @@ use Timer; use Route; use Route::Node; use Route::User; +use Editable; use Data::Dumper; use IO::File; @@ -99,20 +100,21 @@ package main; use strict; use vars qw(@inqueue $systime $version $starttime $lockfn @outstanding_connects $zombies $root @listeners $lang $myalias @debug $userfn $clusteraddr - $clusterport $mycall $decease $is_win $routeroot $me + $clusterport $mycall $decease $is_win $routeroot $me $reqreg ); @inqueue = (); # the main input queue, an array of hashes $systime = 0; # the time now (in seconds) -$version = "1.48"; # the version no of the software +$version = "1.49"; # the version no of the software $starttime = 0; # the starting time of the cluster #@outstanding_connects = (); # list of outstanding connects @listeners = (); # list of listeners +$reqreg = 0; # 1 = registration required, 2 = deregister people use vars qw($VERSION $BRANCH $build $branch); $VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); $BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0; -$main::build += 14; # add an offset to make it bigger than last system +$main::build += 12; # add an offset to make it bigger than last system $main::build += $VERSION; $main::branch += $BRANCH; @@ -465,12 +467,6 @@ eval { }; dbg("Local::init error $@") if $@; -dbg("cleaning out old debug files"); -DXDebug::dbgclean(); - -# print various flags -#dbg("seful info - \$^D: $^D \$^W: $^W \$^S: $^S \$^P: $^P"); - # this, such as it is, is the main loop! dbg("orft we jolly well go ..."); my $script = new Script "startup";