Commit 86c1df10 authored by Roman Alifanov's avatar Roman Alifanov

Set 5 minute timeout for GetPackageChanges calls

parent ff601dea
......@@ -122,7 +122,7 @@ func (s *SystemUpdatesSource) GetPackageChanges() PackageChanges {
"CheckUpgrade",
args,
gio.DBusCallFlagsNone,
-1,
300000,
)
if err != nil {
panic("DBus CheckUpgrade error: " + err.Error())
......@@ -237,7 +237,7 @@ func (s *KernelUpdatesSource) GetPackageChanges() PackageChanges {
"UpdateKernel",
args,
gio.DBusCallFlagsNone,
-1,
300000,
)
if err != nil {
panic("DBus CheckUpgrade error: " + err.Error())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment