1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-22 06:39:39 +02:00

Tweak exception logging, sync stale behavior

This commit is contained in:
Zach Gollwitzer 2025-05-18 10:19:15 -04:00
parent 9f13b5bb83
commit 29a8ac9d8a
6 changed files with 46 additions and 26 deletions

View file

@ -172,15 +172,15 @@ class SyncTest < ActiveSupport::TestCase
stale_pending = Sync.create!(
syncable: accounts(:depository),
status: :pending,
created_at: 3.hours.ago
created_at: 25.hours.ago
)
stale_syncing = Sync.create!(
syncable: accounts(:depository),
status: :syncing,
created_at: 3.hours.ago,
pending_at: 3.hours.ago,
syncing_at: 2.hours.ago
created_at: 25.hours.ago,
pending_at: 24.hours.ago,
syncing_at: 23.hours.ago
)
Sync.clean