X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/858d955acf92683d21369b16094cd517698ed9e6..3a560b2719ec0ba22f9cc2adf0717d4efd56bb94:/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]]