Fix timeout period of ecore_timer in prepare 50/167950/1
authorsooyeon.kim <sooyeon.kim@samsung.com>
Wed, 27 Dec 2017 06:48:01 +0000 (15:48 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 23 Jan 2018 05:36:03 +0000 (05:36 +0000)
Change-Id: Ic1a43eb0525f8dd741c6ac9343c62ed77e5e35a4
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
(cherry picked from commit 860b0b8ba75cd870d333c2f3dfcd9af293e4f2b7)

client/tts.c
client/tts_dbus.c

index b4010ac..73b9441 100644 (file)
@@ -681,7 +681,7 @@ int tts_prepare(tts_h tts)
                return TTS_ERROR_INVALID_STATE;
        }
 
-       client->conn_timer = ecore_timer_add(0, __tts_connect_daemon, (void*)tts);
+       client->conn_timer = ecore_timer_add(0.02, __tts_connect_daemon, (void*)tts);
 
        SLOG(LOG_DEBUG, TAG_TTSC, "@@@");
 
index f922798..caa4e39 100644 (file)
@@ -353,7 +353,7 @@ int tts_dbus_request_hello(int uid)
        result_msg = dbus_connection_send_with_reply_and_block(g_conn_sender, msg, HELLO_WAITING_TIME, &err);
        dbus_message_unref(msg);
        if (dbus_error_is_set(&err)) {
-//             SLOG(LOG_DEBUG, TAG_TTSC, "<<<< tts dbus log : %s", err);
+               SLOG(LOG_DEBUG, TAG_TTSC, "<<<< tts dbus log : %s", err);
                dbus_error_free(&err);
        }