reduce retry count and interval to avoid main thread hang.
authorjungmin76.park <jungmin76.park@samsung.com>
Tue, 21 May 2013 09:03:18 +0000 (18:03 +0900)
committerjungmin76.park <jungmin76.park@samsung.com>
Tue, 21 May 2013 09:03:46 +0000 (18:03 +0900)
Change-Id: Ib5250a66d6e9b750c52354eff88e348464618faf
Signed-off-by: jungmin76.park <jungmin76.park@samsung.com>
src/FShell_AppWidgetManagerProxy.cpp

index 69da5c4..85d6ef4 100644 (file)
@@ -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)