mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
Add tub_handlers arg to NativeStorageServer constructor
Here we also define tub_handlers as a node attribute and pass it all the way down to the NativeStorageServer via the Client and StorageFarmBroker
This commit is contained in:
committed by
Brian Warner
parent
85cf1d65be
commit
61eb839843
@ -370,7 +370,8 @@ class Client(node.Node, pollmixin.PollMixin):
|
||||
preferred_peers = tuple([p.strip() for p in ps if p != ""])
|
||||
sb = storage_client.StorageFarmBroker(permute_peers=True,
|
||||
preferred_peers=preferred_peers,
|
||||
tub_options=self.tub_options)
|
||||
tub_options=self.tub_options,
|
||||
tub_handlers=self.tub_handlers)
|
||||
self.storage_broker = sb
|
||||
sb.setServiceParent(self)
|
||||
|
||||
|
Reference in New Issue
Block a user