author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Mon, 9 Oct 2017 20:08:38 +0000 (03:08 +0700) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Mon, 9 Oct 2017 20:08:38 +0000 (03:08 +0700) | ||
commit | 60bc9b5c6ef49ec78291d64ebe4c58569b1f9a61 | |
tree | 08028ed5a4f4ca3eb1a8e5fb71ceff6f8c844d8b | tree | snapshot |
parent | cb48bb1590b2953f3d0134f6d6355c61bce7304a | commit | diff |
memcached: Fix hitratio calculation
If there is no requests, NAN is reported as hitratio.
If there is no hits - zero is reported.
If there is no requests, NAN is reported as hitratio.
If there is no hits - zero is reported.
src/memcached.c | diff | blob | history |