Caching mechanism broke the correctness of network update

Reported by Vladimir Kravets on 2012-05-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Medium
Dustin Kirkland 

Bug Description

Byobu uses caching mechanism to using .new files and if it's exists and file size not zero we get data from cached. Code for this is locate in the /usr/bin/byobu-status, function get_status(). The network script return nothing if we have traffic less than NETWORK_BANDWITH. In this case file size will be 0 and we will have incorrect(old) values of network traffic in the byobu status.

Need to have non-zero file size if we don't have any data or change caching mechanism (I think first will be less painful =) )

Vladimir Kravets (vova-kravets) wrote :

Patch add space to the output if there no traffic

description: updated
Dustin Kirkland  (kirkland) wrote :

Fixed in r1967

Changed in byobu:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers