Don't start servers

This commit is contained in:
Neil Booth 2016-10-27 07:13:50 +09:00
parent 0f5670eda8
commit 208ed5d2b2

View File

@ -31,6 +31,7 @@ class Controller(LoggedClass):
def start(self, loop): def start(self, loop):
env = self.env env = self.env
if False:
protocol = partial(LocalRPC, self) protocol = partial(LocalRPC, self)
if env.rpc_port is not None: if env.rpc_port is not None:
host = 'localhost' host = 'localhost'
@ -53,7 +54,6 @@ class Controller(LoggedClass):
.format(env.host, env.ssl_port)) .format(env.host, env.ssl_port))
coros = [ coros = [
self.reap_jobs(),
self.block_cache.catch_up(), self.block_cache.catch_up(),
self.block_cache.process_cache() self.block_cache.process_cache()
] ]