From: Hwankyu Jhun Date: Thu, 31 May 2018 10:15:00 +0000 (+0900) Subject: Change the timeout X-Git-Tag: submit/tizen/20180607.021807~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=906018946d40c665abc295e57c0a19bdfb63c86c;p=platform%2Fcore%2Fappfw%2Frpc-port.git Change the timeout The timeout value of calling g_dbus_connection_send_message_with_reply_sync() is changed to 5000ms. Change-Id: I495c2ad2c5ae30d3fa047b290191432dae437c9d Signed-off-by: Hwankyu Jhun --- diff --git a/src/fdbroker-internal.cc b/src/fdbroker-internal.cc index 20d893c..0dce2cf 100644 --- a/src/fdbroker-internal.cc +++ b/src/fdbroker-internal.cc @@ -264,7 +264,7 @@ int FdBroker::Send(const std::string& target_appid, g_dbus_message_set_unix_fd_list(msg, fd_list.GetRaw()); reply = g_dbus_connection_send_message_with_reply_sync( DBusConnectionManager::GetInst().GetConnection(), - msg, G_DBUS_SEND_MESSAGE_FLAGS_NONE, 500, nullptr, nullptr, &err); + msg, G_DBUS_SEND_MESSAGE_FLAGS_NONE, 5000, nullptr, nullptr, &err); if (reply == nullptr) { LOGE("No reply. error = %s", err->message); g_error_free(err);