start of AnyEvent conversion
[spider.git] / cmd / shutdown.pl
index 1a5a5663ec2d426773ce47ed713e060a687056d9..cfed8d400ad5e2741f765c7aaa0dd71e2b771950 100644 (file)
@@ -1,7 +1,7 @@
 #
 # the shutdown command
 # 
-# $Id$
+#
 #
 my $self = shift;
 my $call = $self->call;
@@ -12,6 +12,6 @@ foreach $ref (DXChannel::get_all()) {
 }
     
 # give some time for the buffers to empty and then shutdown (see cluster.pl)
-$main::decease = 25;
+$main::decease->send;
 
 return (1);