You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Most findings
are advisory and do not automatically disqualify a pull request.
This check is not perfect and will not replace a normal review.
Fixed the two best-practices scanner findings. Replaced both synchronous GLib.file_get_contents() calls with async Gio.File.load_contents_async():
Interface detection now reads /proc/net/route asynchronously (with a _detecting guard so retries don't stack).
Speed sampling now chains async reads per tick (rx_bytes \u2192 tx_bytes \u2192 compute) with a _sampling guard to prevent overlapping samples.
Verified live after reload: label updates correctly (\u2193 49.0 KB/s \u2191 6.3 KB/s \u2192 \u2193 2.4 KB/s \u2191 2.4 KB/s), no new warnings in ~/.xsession-errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A lightweight Cinnamon applet that displays real-time internet upload and download speed in the panel.
Features
Implementation notes
rx_bytes/tx_bytesfrom/sys/class/net/<iface>/statistics/Mainloop.timeout_add+ file reads per tick (no subprocesses, no watchdog warnings)