mirror of
https://github.com/xcat2/confluent.git
synced 2025-04-15 17:49:34 +00:00
Add timeout on httpapi socket
Clients that fail to send any data, or keep a persistent socket open without using it are killed off.
This commit is contained in:
parent
8fc29d1b46
commit
e8cea66a85
@ -785,7 +785,7 @@ def serve(bind_host, bind_port):
|
||||
' a second\n')
|
||||
eventlet.sleep(1)
|
||||
eventlet.wsgi.server(sock, resourcehandler, log=False, log_output=False,
|
||||
debug=False)
|
||||
debug=False, socket_timeout=60)
|
||||
|
||||
|
||||
class HttpApi(object):
|
||||
|
Loading…
x
Reference in New Issue
Block a user