This commit is contained in:
parent
94a995d814
commit
aaa7a8ce99
10 changed files with 543 additions and 8 deletions
23
deploy/catcrafts-credits.timer
Normal file
23
deploy/catcrafts-credits.timer
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Every five minutes. Two things set the floor and the ceiling:
|
||||
#
|
||||
# * bunq rate-limits reads to roughly 3 GET per 3 seconds per method, so one
|
||||
# call per five minutes is nowhere near it. The cost of going faster is
|
||||
# nothing technical; it is just noise.
|
||||
# * a donor watching the order page wants confirmation while they still care.
|
||||
# Five minutes here plus the reconciler's own 60 s cadence means a fresh
|
||||
# order confirms within about six minutes of the money landing.
|
||||
#
|
||||
# Persistent=true so a laptop that was asleep pulls once on waking instead of
|
||||
# silently skipping every window it missed — which is exactly when a donation
|
||||
# would otherwise sit unacknowledged overnight.
|
||||
[Unit]
|
||||
Description=Pull bunq credits for catcrafts.net every 5 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=2min
|
||||
OnUnitActiveSec=5min
|
||||
Persistent=true
|
||||
AccuracySec=30s
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Reference in a new issue