engine: Greatly increase packagekit install timeout
This commit is contained in:
parent
33b67a1c16
commit
ca5bd0de0a
|
@ -158,8 +158,11 @@ def packagekit_install(package_list):
|
|||
"/org/freedesktop/PackageKit"),
|
||||
"org.freedesktop.PackageKit.Modify")
|
||||
|
||||
# Set 2 hour timeout
|
||||
timeout = 60 * 60 * 2
|
||||
logging.debug("Installing packages: %s" % package_list)
|
||||
pk_control.InstallPackageNames(0, package_list, "hide-confirm-search")
|
||||
pk_control.InstallPackageNames(0, package_list, "hide-confirm-search",
|
||||
timeout=timeout)
|
||||
|
||||
def packagekit_search(session, pk_control, package_name, packages):
|
||||
tid = pk_control.GetTid()
|
||||
|
|
Loading…
Reference in New Issue