start of AnyEvent conversion
[spider.git] / cmd / shutdown.pl
index 30592ad0697c751d388611b37261a8445529920a..cfed8d400ad5e2741f765c7aaa0dd71e2b771950 100644 (file)
@@ -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);