From 29bb333cc76a2cee72e97748114650e2d650fa1e Mon Sep 17 00:00:00 2001 From: "jungmin76.park" Date: Tue, 21 May 2013 18:03:18 +0900 Subject: [PATCH] reduce retry count and interval to avoid main thread hang. Change-Id: Ib5250a66d6e9b750c52354eff88e348464618faf Signed-off-by: jungmin76.park --- src/FShell_AppWidgetManagerProxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FShell_AppWidgetManagerProxy.cpp b/src/FShell_AppWidgetManagerProxy.cpp index 69da5c4..85d6ef4 100644 --- a/src/FShell_AppWidgetManagerProxy.cpp +++ b/src/FShell_AppWidgetManagerProxy.cpp @@ -83,8 +83,8 @@ _AppWidgetManagerProxy::Construct(void) std::unique_ptr<_IpcClient> pIpcClient(new (std::nothrow) _IpcClient() ); SysTryReturnResult(NID_SHELL, pIpcClient, E_OUT_OF_MEMORY, "_IpcClient creation failed."); - const int MAX_TRY_COUNT = 5; - const int TRY_SLEEP_TIME = 250; + const int MAX_TRY_COUNT = 2; + const int TRY_SLEEP_TIME = 65; int count = 0; while (true) -- 2.7.4