From 5033e24804ee3324497dc5c540abbf20bb3e8155 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 2 Jan 2016 09:17:34 -0800 Subject: [PATCH] Disable keepalives for now --- daphne/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daphne/server.py b/daphne/server.py index e491dd8..f3ea3d7 100755 --- a/daphne/server.py +++ b/daphne/server.py @@ -15,7 +15,7 @@ class Server(object): self.factory = HTTPFactory(self.channel_layer) reactor.listenTCP(self.port, self.factory, interface=self.host) reactor.callInThread(self.backend_reader) - reactor.callLater(1, self.keepalive_sender) + #reactor.callLater(1, self.keepalive_sender) reactor.run() def backend_reader(self):