actualbudget / actual

A local-first personal finance app
https://actualbudget.org
MIT License
13.96k stars 1.11k forks source link

:electron: Adding retries in to the file system writes #3406

Closed MikesGlitch closed 3 weeks ago

MikesGlitch commented 3 weeks ago

Should fix: #3390

Adds retries into file system write calls. This should mitigate errors caused by virus scanners locking the files shortly after they've been written to.

File system reads aren't affected by the lock, so I haven't touched them.

showing err

netlify[bot] commented 3 weeks ago

Deploy Preview for actualbudget ready!

Name Link
Latest commit 76ac195f1e8ac0e3407f3e974361a286896c5977
Latest deploy log https://app.netlify.com/sites/actualbudget/deploys/66df5df40ebc770008249a0d
Deploy Preview https://deploy-preview-3406.demo.actualbudget.org
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 3 weeks ago

Bundle Stats — desktop-client

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
9 5.22 MB 0%

Changeset

No files were changed

View detailed bundle breakdown
**Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- static/js/indexeddb-main-thread-worker-e59fee74.js | 13.5 kB | 0% static/js/resize-observer.js | 18.37 kB | 0% static/js/BackgroundImage.js | 122.29 kB | 0% static/js/narrow.js | 78.89 kB | 0% static/js/usePreviewTransactions.js | 1.59 kB | 0% static/js/AppliedFilters.js | 21.01 kB | 0% static/js/wide.js | 224.58 kB | 0% static/js/ReportRouter.js | 1.5 MB | 0% static/js/index.js | 3.25 MB | 0%
github-actions[bot] commented 3 weeks ago

Bundle Stats — loot-core

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
1 1.19 MB 0%

Changeset

No files were changed

View detailed bundle breakdown
**Added** No assets were added **Removed** No assets were removed **Bigger** No assets were bigger **Smaller** No assets were smaller **Unchanged** Asset | File Size | % Changed ----- | --------- | --------- kcab.worker.js | 1.19 MB | 0%