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

[Improvement]: Improve app performance by removing the extra info call #1606

Open
3 tasks done
flashlab opened this issue Mar 25, 2024 · 1 comment
Open
3 tasks done
Labels
Improvement Something that should be improved. Sort system Torrent Management

Comments

@flashlab
Copy link
Contributor

Bug description

image
Please notice the requests marked with arrow, browser will keep fetching torrents/info. While I have a huge number of torrents, this behaviour will occupy considerable resources of network and cpu/memory.

Expectations

Stop calling this API periodly unless necessary,just like the default webui does.

Relevant debug informations

No response

Steps to reproduce

  1. Open a fresh vuetorrent page
  2. Observe the network panel of Devtools

How did you install VueTorrent?

Built from source

Environment description

Device type and name: PC
OS: Win11

PWA: No
Running inside a container: No

qBittorrent version

4.6.2

VueTorrent version

2.7.2

Agreements

  • The bug still occurs on the nightly build
  • The bug still occurs on the latest version of qBittorrent
  • A similar issue doesn't already exist
@flashlab flashlab added Bug Something isn't working triage Issue hasn't been assessed yet labels Mar 25, 2024
@Larsluph
Copy link
Collaborator

Larsluph commented Mar 25, 2024

We use those to handle sorting on qbit side. It will be reworked with the internal sorting system when we have time.

Please note that when sorting locally, browser performance will decrease as it must iterate through torrents.

@Larsluph Larsluph added Improvement Something that should be improved. Torrent Management Sort system and removed Bug Something isn't working triage Issue hasn't been assessed yet labels Mar 25, 2024
@Larsluph Larsluph changed the title [Bug]: Keep fetching torrents info [Improvement]: Improve app performance by removing the extra info call Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Something that should be improved. Sort system Torrent Management
Projects
None yet
Development

No branches or pull requests

2 participants