Merge pull request #1561 from iblis17/backlog

Increase socket backlog number for `powerline-daemon`
This commit is contained in:
Nikolai Aleksandrovich Pavlov 2016-05-29 03:49:44 +03:00
commit d816de054a
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()