projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e25efc
)
control.py: use get_buckets() instead of get_version() to measure ping time, because...
author
Brian Warner
<warner@lothar.com>
Sun, 23 Nov 2008 06:13:23 +0000
(23:13 -0700)
committer
Brian Warner
<warner@lothar.com>
Sun, 23 Nov 2008 06:13:23 +0000
(23:13 -0700)
src/allmydata/control.py
patch
|
blob
|
history
diff --git
a/src/allmydata/control.py
b/src/allmydata/control.py
index b566231f9b9a5ae5c7e792495eb09df89072b6b7..73756605e449dcc471d9e7b373689e97c86775da 100644
(file)
--- a/
src/allmydata/control.py
+++ b/
src/allmydata/control.py
@@
-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