fix(siteeventlog): gate EventLogPurge to active node via IClusterNodeProvider.SelfIsPrimary (#29, M2.15)
This commit is contained in:
@@ -405,6 +405,9 @@ public class SiteCompositionRootTests : IDisposable
|
||||
new object[] { typeof(IEventLogQueryService) },
|
||||
new object[] { typeof(ISiteIdentityProvider) },
|
||||
new object[] { typeof(IHealthReportTransport) },
|
||||
// M2.15 (#29): the active-node purge gate must be registered on site nodes
|
||||
// so EventLogPurge only runs on the active node.
|
||||
new object[] { typeof(SiteEventLogActiveNodeCheck) },
|
||||
};
|
||||
|
||||
// --- Scoped services ---
|
||||
|
||||
Reference in New Issue
Block a user