X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6afbd9939ac8cd171e7cf8376f0d0c0a4bf3d516..832d4d31d177d5d5f848250496048a00e9d70e2f:/doc/todo/aggregate_locking.mdwn?ds=inline 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]]