From: Joey Hess Date: Mon, 21 Mar 2011 18:44:43 +0000 (-0400) Subject: comment about locking X-Git-Url: https://scripts.mit.edu/gitweb/www/ikiwiki.git/commitdiff_plain/37bbec8c3c4ba35a8b955d105426801c4653e4a7 comment about locking --- 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();