mirror of
https://github.com/powerline/powerline.git
synced 2025-07-30 01:05:42 +02:00
Increase socket backlog number for powerline-daemon
This commit is contained in:
parent
2a4e818ab6
commit
436be7dacb
@ -231,7 +231,7 @@ def do_one(sock, read_sockets, write_sockets, result_map):
|
|||||||
|
|
||||||
|
|
||||||
def main_loop(sock):
|
def main_loop(sock):
|
||||||
sock.listen(1)
|
sock.listen(128)
|
||||||
sock.setblocking(0)
|
sock.setblocking(0)
|
||||||
|
|
||||||
read_sockets, write_sockets = set(), set()
|
read_sockets, write_sockets = set(), set()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user