Per-party document sync cadence (honour PartyReadModel.syncFrequency) #49
Labels
No labels
bug
enhancement
pr-split
question
security
transaction-matcher
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
momsse/octant#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from #40 (epic #42).
SynchronizePartyDocumentsDaemonLayercurrently syncs every party at one globalpartyDocumentsSyncInterval, ignoring each party'ssyncFrequency(aDurationalready modelled on the Party aggregate / read model). The plan calls for "cron selon la fréquence du party".Honouring per-party cadence needs a per-party "last synced at" timestamp to compare against
syncFrequency— which the Party aggregate does not model today (unlike Banking'slastTransactionCheckAt).Work
last documents sync at(command/event/state + read model), set whenSynchronizePartyDocumentscompletes.now - lastSyncedAt >= party.syncFrequency.Until then the global interval is the pragmatic behaviour.