rconroy293 / mtga-log-client

GNU General Public License v3.0
61 stars 26 forks source link

Exponential backoff between upgrade alerts #86

Open pickhardt opened 3 years ago

pickhardt commented 3 years ago

I'm getting alerts about upgrading to 0.19 from 0.18p nonstop. (I click OK and it just gives me another alert) I think I have 17lands installed but haven't really used it much.

Can you put some sort of exponential backoff on when the upgrade alert shows up so it doesn't overwhelm the user?

rconroy293 commented 3 years ago

Thank you for reporting this; this is a side effect we were unaware of.

Historically we've tried not to block old versions, but in this case the latest Arena update is behaving in such a way that it's been overloading our servers and driving up costs significantly, so we didn't have much choice. For those who have these older versions of the client installed, there's unfortunately not much we can do at this point (we intentionally don't have any way to force any changes of the code on users unknowingly), but we'll be sure to take this into account for future releases.

If for some reason you don't want to upgrade the software, you can stop the service from running in the background with this command at a terminal:

brew services stop seventeenlands

and uninstall it completely with:

brew remove seventeenlands
pickhardt commented 3 years ago

I'm on 0.1.23 now, just wanted to let you know that a new alert would pop up immediately after I hit "OK" on the existing alert. So it was hard to make the alerts go away so that I could go to the terminal to upgrade it.

maxwindiff commented 3 years ago

@pickhardt I tried reproducing your issue and I think the problem is that the background service is still pointing to the old version. Can you try removing then starting the service again?

brew services stop seventeenlands brew services start seventeenlands

pickhardt commented 3 years ago

I don't have the problem any longer since I've upgraded. I just was letting you know about the bug.