From: wn.jang Date: Tue, 14 Sep 2021 01:58:47 +0000 (+0900) Subject: Extend waiting time for response from engine X-Git-Tag: submit/tizen/20210914.040626^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20d98b6e237b19d2a45d0e9bac17892540eb5bb5;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Extend waiting time for response from engine 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 --- diff --git a/client/vc.c b/client/vc.c index a2691c0..2f21d9c 100644 --- a/client/vc.c +++ b/client/vc.c @@ -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; }