From 37bbec8c3c4ba35a8b955d105426801c4653e4a7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 21 Mar 2011 14:44:43 -0400 Subject: comment about locking --- IkiWiki/Plugin/aggregate.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm index 614c3fa55..0ffe5d72a 100644 --- a/IkiWiki/Plugin/aggregate.pm +++ b/IkiWiki/Plugin/aggregate.pm @@ -74,6 +74,8 @@ sub checkconfig () { $config{cookies}={ file => "$ENV{HOME}/.ikiwiki/cookies" }; } + # This is done here rather than in a refresh hook because it + # needs to run before the wiki is locked. if ($config{aggregate} && ! ($config{post_commit} && IkiWiki::commit_hook_enabled())) { launchaggregation(); -- cgit v1.2.3