martinx / phpmemcacheadmin

Automatically exported from code.google.com/p/phpmemcacheadmin
0 stars 0 forks source link

Coloring slots for which eviction occured #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

this is not a bug but an enhancement.
Here is a small patch to allow coloring slots for which eviction occured. There 
are three different colors available depending on the "evicted_time" value for 
the slot.

Concerning this field, note that evicted_time is the time the last evicted item 
stayed in cache. This can be confusing in the way it is displayed currently as 
the label is "Eviction Last" which first made me think it was the time when the 
last eviction occured. However it's hard to find a short label that would be 
less misleading (maybe "Last evicted lifetime").

Regards,
Colin

Original issue reported on code.google.com by colin.pi...@gmail.com on 12 Jan 2011 at 12:58

GoogleCodeExporter commented 9 years ago
I just see that the file is not attached ! Here is the patch for 1.1.3 version. 
I'll try to reimplement it in 1.2.0.

Original comment by colin.pi...@gmail.com on 6 Apr 2011 at 2:45

Attachments: