From 8ed62527a632075e15e35dabcb5c8954e6ebc16f Mon Sep 17 00:00:00 2001 From: wangsong Date: Tue, 14 Jun 2022 17:13:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BB=B6=E8=BF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/SystemUpdater/UpdateManagerDbus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/SystemUpdater/UpdateManagerDbus.py b/backend/SystemUpdater/UpdateManagerDbus.py index b83c59f..f20e50c 100755 --- a/backend/SystemUpdater/UpdateManagerDbus.py +++ b/backend/SystemUpdater/UpdateManagerDbus.py @@ -73,7 +73,7 @@ class UpdateManagerDbusController(dbus.service.Object): self.UpdateDetectStatusChanged(10,_("Updating Source Template")) obj = self.bus.get_object('com.kylin.software.properties', '/com/kylin/software/properties') interface = dbus.Interface(obj, dbus_interface='com.kylin.software.properties.interface') - interface.updateSourceTemplate(timeout=1,reply_handler=self._update_important_reply,error_handler=self._update_important_error) + interface.updateSourceTemplate(timeout=20,reply_handler=self._update_important_reply,error_handler=self._update_important_error) def is_reboot_required(self): """If a reboot is required to get all changes into effect."""