From 436be7dacbe6c27ed287ccc744b05002007be6d5 Mon Sep 17 00:00:00 2001 From: Iblis Lin Date: Wed, 30 Mar 2016 00:09:16 +0800 Subject: [PATCH] Increase socket backlog number for `powerline-daemon` --- scripts/powerline-daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/powerline-daemon b/scripts/powerline-daemon index 10635c97..c5dba47b 100755 --- a/scripts/powerline-daemon +++ b/scripts/powerline-daemon @@ -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()