fixe shutdown command
[spider.git] / cmd / shutdown.pl
index 30592ad0697c751d388611b37261a8445529920a..1bcbcb70ce845341287ed38022d99893119ff357 100644 (file)
@@ -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::cease();
 
 return (1);