[PR #4515] [MERGED] increase timeout for SimpleFIN batch sync and add debug logging #12480

Closed
opened 2026-04-10 21:30:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/4515
Author: @matt-fidd
Created: 3/3/2025
Status: Merged
Merged: 3/3/2025
Merged by: @matt-fidd

Base: masterHead: simplefin-timeout


📝 Commits (3)

  • 5952caa increase timeout for SimpleFIN batch sync, add logging
  • f111a0b note
  • 80aacfb ensure errors bubble up to the UI

📊 Changes

4 files changed (+34 additions, -14 deletions)

View changed files

📝 packages/desktop-client/src/components/accounts/AccountSyncCheck.tsx (+3 -0)
📝 packages/loot-core/src/server/accounts/app.ts (+7 -3)
📝 packages/loot-core/src/server/accounts/sync.ts (+18 -11)
upcoming-release-notes/4515.md (+6 -0)

📄 Description

This is a shot at fixing https://github.com/actualbudget/actual/issues/4480. Regardless of a new solution from SimpleFIN, the 60s timeout is probably not enough for them to respond to batch requests for 40+ accounts in some cases.

This change increases the timeout to 5 minutes for batch sync operations, shows a more elegant error, and adds some debug logging if it was to fail.

Tested this by making the server to hang indefinitely on request to '/transactions'.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/4515 **Author:** [@matt-fidd](https://github.com/matt-fidd) **Created:** 3/3/2025 **Status:** ✅ Merged **Merged:** 3/3/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `simplefin-timeout` --- ### 📝 Commits (3) - [`5952caa`](https://github.com/actualbudget/actual/commit/5952caa6b875aadc1857a4aca93c081335bc5943) increase timeout for SimpleFIN batch sync, add logging - [`f111a0b`](https://github.com/actualbudget/actual/commit/f111a0b5714786f806eea46a14500b636237941e) note - [`80aacfb`](https://github.com/actualbudget/actual/commit/80aacfb92f51775d61d309b989f9722345a0c5e8) ensure errors bubble up to the UI ### 📊 Changes **4 files changed** (+34 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/desktop-client/src/components/accounts/AccountSyncCheck.tsx` (+3 -0) 📝 `packages/loot-core/src/server/accounts/app.ts` (+7 -3) 📝 `packages/loot-core/src/server/accounts/sync.ts` (+18 -11) ➕ `upcoming-release-notes/4515.md` (+6 -0) </details> ### 📄 Description This is a shot at fixing https://github.com/actualbudget/actual/issues/4480. Regardless of a new solution from SimpleFIN, the 60s timeout is probably not enough for them to respond to batch requests for 40+ accounts in some cases. This change increases the timeout to 5 minutes for batch sync operations, shows a more elegant error, and adds some debug logging if it was to fail. Tested this by making the server to hang indefinitely on request to '/transactions'. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-10 21:30:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#12480