Disable keepalives for now

This commit is contained in:
Andrew Godwin 2016-01-02 09:17:34 -08:00
parent 88d47df276
commit 5033e24804

View File

@ -15,7 +15,7 @@ class Server(object):
self.factory = HTTPFactory(self.channel_layer) self.factory = HTTPFactory(self.channel_layer)
reactor.listenTCP(self.port, self.factory, interface=self.host) reactor.listenTCP(self.port, self.factory, interface=self.host)
reactor.callInThread(self.backend_reader) reactor.callInThread(self.backend_reader)
reactor.callLater(1, self.keepalive_sender) #reactor.callLater(1, self.keepalive_sender)
reactor.run() reactor.run()
def backend_reader(self): def backend_reader(self):