mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
remotefilelog: do ui.log of remotecache hit rate
Summary: We would like to utilize Martijn's logtoprocess extension to log cache hit rate. Test Plan: None so far, will update the diff later. Reviewers: #sourcecontrol, ttung Differential Revision: https://phabricator.fb.com/D3094765
This commit is contained in:
parent
cc54a98956
commit
4e61e19a3d
@ -273,6 +273,8 @@ class fileserverclient(object):
|
||||
|
||||
count = [total - len(missed)]
|
||||
self.ui.progress(_downloading, count[0], total=total)
|
||||
self.ui.log("remotefilelog", "remote cache hit rate is %r of %r ",
|
||||
count[0], total, hit=count[0], total=total)
|
||||
|
||||
oldumask = os.umask(0o002)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user