mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
don't double start; don't try to handle double start.
This commit is contained in:
parent
6970c2cc6d
commit
53b40ef0e0
@ -761,7 +761,6 @@ class _Client(node.Node, pollmixin.PollMixin):
|
||||
s = magic_folder.MagicFolder.from_config(self, name, mf_config)
|
||||
self._magic_folders[name] = s
|
||||
s.setServiceParent(self)
|
||||
s.startService()
|
||||
|
||||
connected_d = self.storage_broker.when_connected_enough(threshold)
|
||||
def connected_enough(ign, mf):
|
||||
|
@ -402,9 +402,6 @@ class MagicFolder(service.MultiService):
|
||||
self._public_status = (status, messages)
|
||||
|
||||
def startService(self):
|
||||
# TODO: why is this being called more than once?
|
||||
if self.running:
|
||||
return defer.succeed(None)
|
||||
service.MultiService.startService(self)
|
||||
return self.uploader.start_monitoring()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user