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

Feedback about auto-update mechanism for installers #19868

Closed
ccordoba12 opened this issue Oct 17, 2022 · 2 comments
Closed

Feedback about auto-update mechanism for installers #19868

ccordoba12 opened this issue Oct 17, 2022 · 2 comments

Comments

@ccordoba12
Copy link
Member

Before releasing 5.4.0, I'd like for us to address two issues with this new mechanism:

  1. Spyder can't be closed quickly after startup because the thread that checks for updates takes too much time to complete and we wait for it to finish before closing. Is there a way to simply kill that thread? If that's not possible, I think we could start it with a timer that waits a minute or two after Spyder starts to check for updates. That would work similarly to the way we check for dependencies.
  2. I think we should only show the status bar widget that handles updates for our Windows and Mac installers. We have multiple ways to install Spyder and I think in those cases that widget would be of little value to users.
@dalthviz
Copy link
Member

@ccordoba12 I was checking this and I think the updates also have a timer already but with a lower timeout. Should I increase it? Currently for the updates the timer is set to 3000 while for the dependencies is set to 10000

@ccordoba12
Copy link
Member Author

Currently for the updates the timer is set to 3000 while for the dependencies is set to 10000

Ok, then I think we should increase it to 30000 or perhaps even 60000. If Spyder has been running for at least that amount of time, it means users are already invested on using it for a long session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants