Review Board Ticket #4922: Too much precision on memcached stats

2 views
Skip to first unread message

Matthew Blythe

unread,
Apr 16, 2021, 1:22:14 PM4/16/21
to Matthew Blythe, reviewboa...@googlegroups.com
To reply, visit https://hellosplat.com/s/beanbag/tickets/4922/

New ticket #4922 by mblythe

For Beanbag, Inc. Review Board

Too much precision on memcached stats

What version are you running?

4.0.0-rc1

What's the URL of the page containing the problem?

/admin/

What steps will reproduce the problem?

  1. configure & run memcached for ReviewBoard
  2. visit the Admin dashboard
  3. observe the "Server Cache" panel

What is the expected output? What do you see instead?

The percentages for "Cache Hits" and "Cache misses" have too many digits of precision. Mine currently shows 85.33321517192485%.

I'd expect this to be rounded. Perhaps like 85.33%.

Uptime has a similar problem. Min currenlty shows "17.427500000000002 hours".

Again, I'd expect this to be rounded. Perhaps "17.43 hours".

What operating system are you using? What browser?

ReviewBoard server is running on RHEL 7.

Browser is running on Windows 10. Using Chrome.

Please provide any additional information below.

Reviewboard is running with python 3.9.1.

New Priority:Medium Type:Defect
Reply all
Reply to author
Forward
0 new messages