From b2a4f7b95986786b786660290fb82d02f6e828e6 Mon Sep 17 00:00:00 2001 From: Sebastian Grabowski Date: Tue, 16 Dec 2014 14:37:46 +0100 Subject: [PATCH] Removed timeout for poll. Security-server in many cases may need much more time than just 2s to accomplish given client request. It seems to be reasonable to just remove the timeout by changing it to be infinite. Change-Id: Iae8074b3bb5bfa134fd6dc324907ad3bba6f3b9b Signed-off-by: Sebastian Grabowski --- src/client/client-common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/client-common.cpp b/src/client/client-common.cpp index dd5796a..883ab8d 100644 --- a/src/client/client-common.cpp +++ b/src/client/client-common.cpp @@ -45,7 +45,7 @@ IMPLEMENT_SAFE_SINGLETON(SecurityManager::Log::LogSystem); namespace { -const int POLL_TIMEOUT = 2000; +const int POLL_TIMEOUT = -1; void securityClientEnableLogSystem(void) { SecurityManager::Singleton::Instance().SetTag("SECURITY_MANAGER_CLIENT"); -- 2.7.4