comment about locking

master
Joey Hess 2011-03-21 14:44:43 -04:00
parent 1013217523
commit 37bbec8c3c
1 changed files with 2 additions and 0 deletions

View 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();