Fix timeout period of ecore_timer in prepare 35/167935/1
authorsooyeon.kim <sooyeon.kim@samsung.com>
Wed, 27 Dec 2017 06:51:44 +0000 (15:51 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 23 Jan 2018 05:19:41 +0000 (05:19 +0000)
Change-Id: I3f1d7aab32ffd31709823590e7db8dfa2f272e53
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
(cherry picked from commit f279a9e53c792dbc6f8442c224834d4005a96d05)

client/stt.c
client/stt_dbus.c

index 69fab4d..144d56b 100644 (file)
@@ -1042,7 +1042,7 @@ int stt_prepare(stt_h stt)
                return STT_ERROR_INVALID_STATE;
        }
 
-       g_connect_timer = ecore_timer_add(0, __stt_connect_daemon, (void*)client);
+       g_connect_timer = ecore_timer_add(0.02, __stt_connect_daemon, (void*)client);
 
        SLOG(LOG_DEBUG, TAG_STTC, "=====");
        SLOG(LOG_DEBUG, TAG_STTC, " ");
index 32a9dea..f589775 100644 (file)
@@ -926,6 +926,7 @@ int stt_dbus_request_hello(int uid)
                result_msg = dbus_connection_send_with_reply_and_block(g_conn_sender, msg, g_waiting_short_time, &err);
                dbus_message_unref(msg);
                if (dbus_error_is_set(&err)) {
+                       SLOG(LOG_ERROR, TAG_STTC, "[ERROR] Get arguments error (%s)", err.message);
                        dbus_error_free(&err);
                }