comment about locking
authorJoey Hess <joey@kitenet.net>
Mon, 21 Mar 2011 18:44:43 +0000 (14:44 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 21 Mar 2011 18:44:43 +0000 (14:44 -0400)
IkiWiki/Plugin/aggregate.pm

index 614c3fa5510ef09f10750a2639b6a4ad03aa6731..0ffe5d72a233e2193ccd03b2afab7ca23d9114b9 100644 (file)
@@ -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();