From 2bc2ab362b048f508db319bc786fd96992f87208 Mon Sep 17 00:00:00 2001 From: Aero Date: Sat, 24 Jun 2023 10:48:42 +0530 Subject: [PATCH] Increase DBUS_TIMEOUT_MSEC variabe This is done so that on some systems, particularly the older ones, the installer fails to continue in `Custom Install` due to not showing ALL partitions. --- src/Helpers/InstallerDaemon.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Helpers/InstallerDaemon.vala b/src/Helpers/InstallerDaemon.vala index 858dbb8b9..254bb8f90 100644 --- a/src/Helpers/InstallerDaemon.vala +++ b/src/Helpers/InstallerDaemon.vala @@ -16,10 +16,10 @@ */ public class Installer.Daemon { - // Wait up to 300 seconds for DBus calls to timeout. Some of the Distinst disk probe operations seem to take around 30 seconds. + // Wait up to 10 minutes for DBus calls to timeout. Some of the Distinst disk probe operations seem to take around 600 seconds (10 minutes). // Some systems may require more time for probing partitions. - private const int DBUS_TIMEOUT_MSEC = 300 * 1000; + private const int DBUS_TIMEOUT_MSEC = 600 * 1000; [DBus (name = "io.elementary.InstallerDaemon")] private interface InstallerInterface : GLib.DBusProxy {