Extend waiting time for response from engine 52/264152/1 accepted/tizen/6.5/unified/20211028.123107 accepted/tizen/unified/20210914.221905 submit/tizen/20210914.040626 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
authorwn.jang <wn.jang@samsung.com>
Tue, 14 Sep 2021 01:58:47 +0000 (10:58 +0900)
committerwn.jang <wn.jang@samsung.com>
Tue, 14 Sep 2021 01:58:56 +0000 (10:58 +0900)
Previous waiting time was 2 sec, because 200 ms x 10 retry time was.
But, in TW3, VC Engine was launched after almost 3 sec.
Therefore, waiting time will be extended to 4 sec by this patch.

Change-Id: I0aa8077663bd345e17f2bf8bf11373d3921dd470

client/vc.c

index a2691c0..2f21d9c 100644 (file)
@@ -609,7 +609,7 @@ static void __start_prepare_thread(void *data, Ecore_Thread *thread)
 
        /* Send hello */
        while (0 != ret) {
-               if (retry_count == 10) {
+               if (retry_count == 20) { // 200 ms * 20 = 4 sec
                        SLOG(LOG_ERROR, TAG_VCC, "[ERROR] Fail to request hello !!"); //LCOV_EXCL_LINE
                        return;
                }