Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Remove outdated drawer entry for CPU usage. #2004

Merged
merged 3 commits into from
Nov 13, 2023

Conversation

acolomb
Copy link
Member

@acolomb acolomb commented Nov 12, 2023

The code to calculate this metric has long been removed from the backend upstream, in commit syncthing/syncthing@c7d6a6d.

Thus the GUI element should go away as well, currently always displaying 0 percent anyways.

Ref syncthing/syncthing#6393

acolomb and others added 2 commits November 12, 2023 20:19
The code to calculate this metric has long been removed from the
backend upstream, in commit c7d6a6d78042876d9a27b13df2ae45783dca7c37.

Thus the GUI element should go away as well, currently always
displaying 0 percent anyways.
@imsodin
Copy link
Member

imsodin commented Nov 13, 2023

The ram next to the cpu stuff was also removed, right? Could you remove both at once?

@tomasz1986
Copy link
Contributor

The ram next to the cpu stuff was also removed, right? Could you remove both at once?

The ram usage reporting still works, it was just hidden from the Web GUI…

@acolomb
Copy link
Member Author

acolomb commented Nov 13, 2023

Correct, the RAM reporting still works. I was about to remove it as well, but noticed it had valid numbers. On Android, I think that's a pretty useful piece of information. In contrast to the CPU stats, it didn't require a whole bunch of code to work and it was deemed more accurate back then.

@acolomb acolomb merged commit 24fa7c3 into syncthing:main Nov 13, 2023
1 check passed
@acolomb acolomb deleted the cpu-usage-removed branch November 13, 2023 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants