mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-30 01:38:55 +00:00
control.py: use get_buckets() instead of get_version() to measure ping time, because the latter changed recently
This commit is contained in:
parent
3e25efc010
commit
2308440fb6
@ -81,7 +81,7 @@ class ControlServer(Referenceable, service.Service):
|
||||
return results
|
||||
peerid, connection = everyone_left.pop(0)
|
||||
start = time.time()
|
||||
d = connection.callRemote("get_version")
|
||||
d = connection.callRemote("get_buckets", "\x00"*16)
|
||||
def _done(ignored):
|
||||
stop = time.time()
|
||||
elapsed = stop - start
|
||||
|
Loading…
Reference in New Issue
Block a user