Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Applying budget templates takes 30 seconds #2741

Open
2 tasks done
deermo opened this issue May 12, 2024 · 5 comments
Open
2 tasks done

[Bug]: Applying budget templates takes 30 seconds #2741

deermo opened this issue May 12, 2024 · 5 comments
Labels
bug Something isn't working goal templates Related to the experimental goal templates feature

Comments

@deermo
Copy link

deermo commented May 12, 2024

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

I set up my budget with templates for each category (around 50 categories), and applying those worked out fine. Then I imported all my old transactions (3500) to a local account. Since then, applying templates takes 30 seconds without producing any error. The browser console does not show any errors.

Initially, I had encryption turned on. I imported the budget without encryption, but the error persists.

Where are you hosting Actual?

Pikapods

What browsers are you seeing the problem on?

Firefox

Operating System

Mac OSX

@deermo deermo added the bug Something isn't working label May 12, 2024
@youngcw youngcw added the goal templates Related to the experimental goal templates feature label May 12, 2024
@youngcw
Copy link
Contributor

youngcw commented May 12, 2024

What does it look like while you are waiting those 30s? Is it nothing then they apply all at once? Or is it pieces at a time?

If you click the sync button in the top right does it stop spinning quickly, or does it take a long time?

@deermo
Copy link
Author

deermo commented May 12, 2024

The interface is completely frozen during this time. When I click sync, the wheel does not spin until the budgets are calculated, an all other actions are „ignored“

@youngcw
Copy link
Contributor

youngcw commented May 13, 2024

For the sync button, I was meaning on its own, not during a template apply. Im wondering if your server syncing is really slow for some reason and that is why the templates take so long

@deermo
Copy link
Author

deermo commented May 13, 2024

Everything else syncs nice and very fast, I'd say the usual sync is around 0.3 seconds roughly?

@youngcw
Copy link
Contributor

youngcw commented May 13, 2024

Hmm. I don't know what would cause really slow processing then. Would you be willing to put up a list of the templates you are using? Maybe we can figure out if one of them is causing trouble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working goal templates Related to the experimental goal templates feature
Projects
None yet
Development

No branches or pull requests

2 participants