-
Notifications
You must be signed in to change notification settings - Fork 482
webUI cost too much time on version query #2725
Copy link
Copy link
Closed
Labels
Description
Expected behaviour:
query lastest version on background
Actual behaviour:
visit http://*/api/server/version in api/core/server.py
it will query https://pypi.org/pypi/FlexGet/json for lastest version info
it cost 20+ seconds on loading page
p.s. maybe it's fast for most country, but it's hard to connect to pypi in China
Steps to reproduce:
- Step 1: open webUI on any browser, it will loading 20s+
Config:
web_server:
bind: 0.0.0.0
port: 8080
web_ui: yesAdditional information:
- FlexGet version: 3.1.70
- Python version: 3.7.3
- Installation method: pip
- Using daemon (yes/no): yes
- OS and version: debian 10.2
Reactions are currently unavailable