X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshutdown.pl;h=d90cfeeafe90cb384d141d7c4ff3b9beb585b372;hb=refs%2Fheads%2Fnew-spawn;hp=1a5a5663ec2d426773ce47ed713e060a687056d9;hpb=df3ec97bdbac858d3ba8cc1d78e8bd0bb4f6ea84;p=spider.git diff --git a/cmd/shutdown.pl b/cmd/shutdown.pl index 1a5a5663..d90cfeea 100644 --- a/cmd/shutdown.pl +++ b/cmd/shutdown.pl @@ -1,7 +1,7 @@ # # the shutdown command # -# $Id$ +# # my $self = shift; my $call = $self->call; @@ -11,7 +11,6 @@ foreach $ref (DXChannel::get_all()) { $ref->send($self->msg('shutting')) if $ref->is_user; } -# give some time for the buffers to empty and then shutdown (see cluster.pl) -$main::decease = 25; +$main::ending = 10; return (1);