projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nominally working system!
[spider.git]
/
perl
/
cluster.pl
diff --git
a/perl/cluster.pl
b/perl/cluster.pl
index a3e915a614ebb45e41686a7ef7162f1d4aff6738..ddcf721448582d18f1100ec363586cf677c511ee 100755
(executable)
--- a/
perl/cluster.pl
+++ b/
perl/cluster.pl
@@
-591,7
+591,9
@@
$script->run($main::me) if $script;
#open(DB::OUT, "|tee /tmp/aa");
-Mojo::IOLoop->start;
+my $main_loop = Mojo::IOLoop->recurring($idle_interval => \&idle_loop);
+
+Mojo::IOLoop->start unless Mojo::IOLoop->is_running;
cease(0);
exit(0);