Skip to content

webUI cost too much time on version query #2725

@xmt328

Description

@xmt328

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: yes

Additional 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions