This way, if a previous aggregation job is running, we don't add additional
load doing work that job will do anyway.
my @feeds=needsaggregate();
return unless @feeds;
if (! lockaggregate()) {
- debug("an aggregation process is already running");
- return;
+ error("an aggregation process is already running");
}
# force a later rebuild of source pages
$IkiWiki::forcerebuild{$_->{sourcepage}}=1
ikiwiki (3.20121213) UNRELEASED; urgency=low
* htmlscrubber: Allow the bitcoin URI scheme.
+ * aggregate: When run with --aggregate, if an aggregation is already
+ running, don't go on and --refresh.
-- Joey Hess <joeyh@debian.org> Sat, 22 Dec 2012 16:15:24 -0400