Removed timeout for poll. 00/32200/2
authorSebastian Grabowski <s.grabowski@samsung.com>
Tue, 16 Dec 2014 13:37:46 +0000 (14:37 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 20 Mar 2015 14:38:43 +0000 (07:38 -0700)
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 <s.grabowski@samsung.com>
src/client/client-common.cpp

index dd5796a..883ab8d 100644 (file)
@@ -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<SecurityManager::Log::LogSystem>::Instance().SetTag("SECURITY_MANAGER_CLIENT");