gerwaric / acquisition

Stash and forum shop management for Path of Exile
GNU General Public License v3.0
18 stars 3 forks source link

Repeated "Update called while updating" warnings with v0.10.2 #16

Open gerwaric opened 1 year ago

gerwaric commented 1 year ago

Someone using v0.10.2 reports they are refreshing 4 tabs every 1 minute, and seeing repeated warnings like this:

ItemsManagerWorker::Update called while udpating

This is what their status panel looks like: image image

gerwaric commented 1 year ago

It's not happening to them now, so now I wonder if this was due to a slowdown on GGG's side...

aiolos01 commented 11 months ago

You can make this happen by clicking on refresh all/checked tabs While tabs are loading (at application start). If you do, no refresh happens and you get no message. BUT, if you click it again then you get this every time and no refresh happens. You have to restart the app. WARN 2023-12-08T10:45:30.082 ItemsManagerWorker::Update called while updating

So it might just be that the autorefresh is starting before the tabs have finished loading. I don't use autorefresh so not sure about that.

gerwaric commented 11 months ago

@aiolos01 thanks for the details. The update code is being almost completely rewritten to work with the new API that comes with OAuth, but I'll be away from my development workstation for most of the holiday, so I might not be able to get an update out right away.