# Hourly, because this is now the BACKSTOP rather than the primary path. # # A payment normally settles within seconds: the bank posts a callback, the # handler writes the credit, the reconciler picks it up. This timer exists for # the case the callback cannot cover — a bank retries a callback a few times # over a few minutes and then DROPS IT FOREVER, so a payment that arrives while # the backend is restarting (every deploy is a restart) is lost to the callback # with no error anywhere. An hourly pull turns that from a silently missing # donation into an hour of delay. # # It was five minutes while the pull WAS the settlement path. Hourly is the # right cadence for a safety net, and it keeps the noise down. # # Persistent=true so a laptop that was asleep pulls once on waking instead of # silently skipping every window it missed. [Unit] Description=Backstop pull of bank credits for catcrafts.net (hourly) [Timer] OnBootSec=2min OnUnitActiveSec=1h Persistent=true AccuracySec=5min [Install] WantedBy=timers.target