From 0771aae7c776a43e535e558c76924cf63034a23e Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 29 Feb 2016 08:59:53 -0800 Subject: [PATCH] server: Relay wasn't pruning channels I forgot to hook it up to the service parent, so the timer was never started. --- src/wormhole/servers/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wormhole/servers/server.py b/src/wormhole/servers/server.py index 111583d..1bfee9a 100644 --- a/src/wormhole/servers/server.py +++ b/src/wormhole/servers/server.py @@ -46,6 +46,7 @@ class RelayServer(service.MultiService): self.relayport_service = ServerEndpointService(r, site) self.relayport_service.setServiceParent(self) self.relay = Relay(self.db, welcome, blur_usage) # accessible from tests + self.relay.setServiceParent(self) # for the pruning timer self.root.putChild(b"wormhole-relay", self.relay) if transitport: self.transit = Transit(self.db, blur_usage)