Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #617 : Raise DBUS_TIMEOUT_MSEC value in src/Helpers/InstallerDaemon.vala #701

Merged
merged 5 commits into from
Apr 11, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/Helpers/InstallerDaemon.vala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@

public class Installer.Daemon {
// Wait up to 60 seconds for DBus calls to timeout. Some of the Distinst disk probe operations seem to take around 30 seconds
private const int DBUS_TIMEOUT_MSEC = 60 * 1000;
// private const int DBUS_TIMEOUT_MSEC = 60 * 1000;
aerocyber marked this conversation as resolved.
Show resolved Hide resolved

private const int DBUS_TIMEOUT_MSEC = 60 * 100000000;
aerocyber marked this conversation as resolved.
Show resolved Hide resolved
// The original value of 60 * 1000 may not be sufficient time for getting partition information in older systems.
// A higher value is thus assigned. Of course, it increases the time required for the installer to recognize partitions.
aerocyber marked this conversation as resolved.
Show resolved Hide resolved

[DBus (name = "io.elementary.InstallerDaemon")]
private interface InstallerInterface : GLib.DBusProxy {
Expand Down