Files
Waybar/include
Adrian Lopez 753294dbf4 fix(network): prevent near-zero bandwidth on rapid event-driven updates
When netlink events (link/addr/route changes) fire between timer
intervals, dp.emit() triggers update() which consumes the byte delta
and resets bandwidth_down_total_. A subsequent timer update sees
near-zero delta, displaying very small bandwidth.

Cache the last computed bandwidth values and skip recalculation
when update() is called within half the interval. Event-driven
updates reuse the cached values instead.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-30 19:38:24 +02:00
..
2026-02-04 09:24:14 +01:00
2026-02-24 00:49:08 +01:00
2023-10-15 17:52:12 -03:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00
2026-02-04 09:24:14 +01:00