Extend timeout value for recognition processing 53/282653/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Fri, 7 Oct 2022 11:01:18 +0000 (20:01 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 7 Oct 2022 11:01:18 +0000 (20:01 +0900)
- Issue:
In emulator, sometimes, the client can not get final result.

- Solution:
This patch extends timeout value for recognition processing. Through
this patch probability of getting final result is increased even if the
processing requires more time and resources.

Change-Id: Iae9be55df0bfa3da9ec6d8807a06c58e4a713be7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/sttd_server.c

index 5eeb0f6..812aca3 100644 (file)
@@ -37,7 +37,7 @@ static pthread_mutex_t stte_result_time_mutex = PTHREAD_MUTEX_INITIALIZER;
 /*
 * STT Server static variable
 */
-static double g_processing_timeout = 30;
+static double g_processing_timeout = 60;
 
 static double g_recording_timeout = 60;