From af49e54d228d9a3e3e367cc067d55369bcb6e5f3 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 21 Oct 2013 11:50:20 +0400 Subject: [PATCH] driver/rcinput.cpp: increase neutrino.sock listen backlog - try to avoid dead-lock on zap flood, when neutrino wait response for command, while zapit try to send event to neutrino --- src/driver/rcinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index f035c1881..a961282bc 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -123,7 +123,7 @@ CRCInput::CRCInput() } - if (listen(fd_event, 15) !=0) + if (listen(fd_event, 25) !=0) { perror("[neutrino] listen failed...\n"); exit( -1 );