mirror of https://gitlab.com/ita1024/waf.git
Merge branch 'wafcache_log_typo' into 'master'
wafcache: fix small typo on stats log message See merge request ita1024/waf!2310
This commit is contained in:
commit
3b46768d3b
|
@ -281,7 +281,7 @@ def build(bld):
|
|||
hit_ratio = 0
|
||||
if bld.cache_reqs > 0:
|
||||
hit_ratio = (bld.cache_hits / bld.cache_reqs) * 100
|
||||
Logs.pprint('CYAN', ' wafache stats: requests: %s, hits, %s, ratio: %.2f%%, writes %s' %
|
||||
Logs.pprint('CYAN', ' wafcache stats: requests: %s, hits, %s, ratio: %.2f%%, writes %s' %
|
||||
(bld.cache_reqs, bld.cache_hits, hit_ratio, bld.cache_puts) )
|
||||
|
||||
bld.add_post_fun(printstats)
|
||||
|
|
Loading…
Reference in New Issue