Remove 2 unused variables
This commit is contained in:
parent
a4758a39d0
commit
6e513dab81
|
@ -393,8 +393,6 @@ def serve_multiple(server_settings, workers, stop_event=None):
|
||||||
sock.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
|
sock.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
|
||||||
sock.bind((server_settings['host'], server_settings['port']))
|
sock.bind((server_settings['host'], server_settings['port']))
|
||||||
set_inheritable(sock.fileno(), True)
|
set_inheritable(sock.fileno(), True)
|
||||||
host = server_settings['host']
|
|
||||||
port = server_settings['port']
|
|
||||||
server_settings['sock'] = sock
|
server_settings['sock'] = sock
|
||||||
server_settings['host'] = None
|
server_settings['host'] = None
|
||||||
server_settings['port'] = None
|
server_settings['port'] = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user