fix(purge): short first tick on all three purge timers so daily-recycled nodes still purge
This commit is contained in:
@@ -415,7 +415,10 @@ public class SiteCallAuditActor : ReceiveActor
|
||||
|
||||
var interval = _options.ResolvedPurgeInterval;
|
||||
_purgeTimer = Context.System.Scheduler.ScheduleTellRepeatedlyCancelable(
|
||||
initialDelay: interval,
|
||||
// Short first tick (min(interval, 5min)): purges are idempotent, and a full-interval
|
||||
// initial delay meant a daily-recycled node never purged (arch-review 04, S9). Fast
|
||||
// test cadences (interval < 5min) are unchanged.
|
||||
initialDelay: PurgeTimerSchedule.InitialDelay(interval),
|
||||
interval: interval,
|
||||
receiver: Self,
|
||||
message: PurgeTick.Instance,
|
||||
|
||||
Reference in New Issue
Block a user