actual icon indicating copy to clipboard operation
actual copied to clipboard

[Bug]: Applying budget templates takes 30 seconds

Open deermo opened this issue 9 months ago • 7 comments

Verified issue does not already exist?

  • [X] I have searched and found no existing issue
  • [X] 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 avatar May 12 '24 06:05 deermo

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?

youngcw avatar May 12 '24 14:05 youngcw

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“

deermo avatar May 12 '24 15:05 deermo

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

youngcw avatar May 13 '24 14:05 youngcw

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

deermo avatar May 13 '24 14:05 deermo

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

youngcw avatar May 13 '24 14:05 youngcw

I also noticed a bit of a slow down when I tried running some templates recently

joel-jeremy avatar Jun 03 '24 06:06 joel-jeremy

Also experienced a bit of a slow-down in applying templates, approximately 10s for me. Occurring on both schedule and simple/static templates. E.g. #template schedule full Mortgage and #template 300.

mk-french avatar Sep 11 '24 03:09 mk-french