X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/858d955acf92683d21369b16094cd517698ed9e6..12f86df239e8a6c1d554d86b5c56e2b8713f6cd8:/doc/todo/aggregate_locking.mdwn diff --git a/doc/todo/aggregate_locking.mdwn b/doc/todo/aggregate_locking.mdwn index 91df662a7..062f34ea3 100644 --- a/doc/todo/aggregate_locking.mdwn +++ b/doc/todo/aggregate_locking.mdwn @@ -1,4 +1,4 @@ -The [[plugin/aggregate]] plugin's locking is a suboptimal. +The [[plugins/aggregate]] plugin's locking is a suboptimal. There should be no need to lock the wiki while aggregating -- it's annoying that long aggregate runs can block edits from happening. However, not @@ -46,16 +46,12 @@ would be loaded, and there would be no reason to worry about aggregating. Or aggregation could be kept in checkconfig, like so: -* lock wiki * load aggregation state -* unlock wiki * get list of feeds needing aggregation * exit if none * attempt to take aggregation lock, exit if another aggregation is happening * fork a child process to do the aggregation - * lock wiki * load wiki state (needed for aggregation to run) - * unlock wiki * aggregate * lock wiki * reload aggregation state @@ -64,3 +60,5 @@ Or aggregation could be kept in checkconfig, like so: * drop aggregation lock * force rebuild of sourcepages of feeds that were aggregated * exit checkconfig and continue with usual refresh process + +[[done]]