Caching mechanism broke the correctness of network update

Bug #998202 reported by Vladimir Kravets
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
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 =) )

Tags: byobu network
Revision history for this message
Vladimir Kravets (vova-kravets) wrote :
Revision history for this message
Vladimir Kravets (vova-kravets) wrote :

Patch add space to the output if there no traffic

description: updated
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.