mirror of
https://github.com/django/daphne.git
synced 2024-11-25 01:03:45 +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)
|
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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user