mirror of
https://github.com/django/daphne.git
synced 2024-11-21 15:36:33 +03:00
Disable keepalives for now
This commit is contained in:
parent
88d47df276
commit
5033e24804
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user