mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-25 21:40:02 +00:00
conflict reconciliation (part 1, stats gathering in helper)
This commit is contained in:
parent
d8f3521a02
commit
f47ebd0814
@ -474,6 +474,14 @@ class Helper(Referenceable, service.MultiService):
|
|||||||
fileutil.make_dirs(self._chk_incoming)
|
fileutil.make_dirs(self._chk_incoming)
|
||||||
fileutil.make_dirs(self._chk_encoding)
|
fileutil.make_dirs(self._chk_encoding)
|
||||||
self._active_uploads = {}
|
self._active_uploads = {}
|
||||||
|
if stats_provider:
|
||||||
|
stats_provider.register_producer(self)
|
||||||
|
self._stats = {"CHK_upload_requests": 0,
|
||||||
|
"CHK_upload_already_present": 0,
|
||||||
|
"CHK_upload_need_upload": 0,
|
||||||
|
"CHK_fetched_bytes": 0,
|
||||||
|
"CHK_encoded_bytes": 0,
|
||||||
|
}
|
||||||
service.MultiService.__init__(self)
|
service.MultiService.__init__(self)
|
||||||
|
|
||||||
def setServiceParent(self, parent):
|
def setServiceParent(self, parent):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user