summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-03-21 14:44:43 -0400
committerJoey Hess <joey@kitenet.net>2011-03-21 14:44:43 -0400
commit37bbec8c3c4ba35a8b955d105426801c4653e4a7 (patch)
tree8d842af5d9549c1334f6d71b34724789ad47390c /IkiWiki/Plugin
parent101321752362ba3117909fb5913edc2d396f9133 (diff)
comment about locking
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/aggregate.pm2
1 files changed, 2 insertions, 0 deletions
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();