The current default value (25s) is too small for update-manager to have
time to extract data from delta.tar and restart the target, which is
manifested by the user being shown an error message just before the
target restarts. The time has been extended to ensure that the user is
not unnecessarily informed of an update error that did not occur.
Change-Id: Ia99a9bf79ffc0cbe1dde6c963c9bae3678245595
_I("Success to get proxy for org.tizen.update.manager");
}
+ g_dbus_proxy_set_default_timeout(G_DBUS_PROXY(proxy), DBUS_PROXY_TIMEOUT);
+
if (access(UPDATE_CONTROL_PLUGIN, F_OK) == 0) {
_I("Success to find update control plugin");
return UPDATE_CONTROL_ERROR_SYSTEM_ERROR; \
} \
} while (0);
-
+#define DBUS_PROXY_TIMEOUT 5*60*1000
#ifdef __cplusplus
}
#endif