Increase socket backlog number for `powerline-daemon`

This commit is contained in:
Iblis Lin 2016-03-30 00:09:16 +08:00
parent 2a4e818ab6
commit 436be7dacb
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ def do_one(sock, read_sockets, write_sockets, result_map):
def main_loop(sock):
sock.listen(1)
sock.listen(128)
sock.setblocking(0)
read_sockets, write_sockets = set(), set()