diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-21 14:44:43 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-21 14:44:43 -0400 |
commit | 37bbec8c3c4ba35a8b955d105426801c4653e4a7 (patch) | |
tree | 8d842af5d9549c1334f6d71b34724789ad47390c /IkiWiki | |
parent | 101321752362ba3117909fb5913edc2d396f9133 (diff) | |
download | ikiwiki-37bbec8c3c4ba35a8b955d105426801c4653e4a7.tar ikiwiki-37bbec8c3c4ba35a8b955d105426801c4653e4a7.tar.gz |
comment about locking
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/aggregate.pm | 2 |
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(); |