feat: always sync full 24 months horizon of contingents
This commit is contained in:
1 parent
351fbab498
commit
c1f0cda479
6 files changed
+41
-42
No files matched your search
@@ -159,8 +159,9 @@ class ContingentSyncState
|
||||
/**
|
||||
* Records a successful sync of a window ending at $horizonTo.
|
||||
*
|
||||
* The horizon only ever grows: the near-term job runs far more often than the full-horizon
|
||||
* one, and must not discard the reach the latter established.
|
||||
* The horizon only ever grows, so an ad-hoc run over a narrow window — say
|
||||
* `--horizon-months=1` while debugging — cannot discard the reach the scheduled full sync
|
||||
* established.
|
||||
*/
|
||||
public function recordSuccess(\DateTimeImmutable $syncedAt, \DateTimeImmutable $horizonTo): self
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user