put dx.pl into an explicit handle sub
[spider.git] / cmd / shutdown.pl
index 1a5a5663ec2d426773ce47ed713e060a687056d9..d90cfeeafe90cb384d141d7c4ff3b9beb585b372 100644 (file)
@@ -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);