-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
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
* drop aggregation lock
* force rebuild of sourcepages of feeds that were aggregated
* exit checkconfig and continue with usual refresh process
+
+[[done]]