mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 20:19:32 +08:00
Change lifetime of the removed_printers_message to 30 seconds
After 30 seconds a new sync will be initiated, which will alter the conents of self.reported_device_ids, thus making the current message deprecated. Therefore, it is best to have a maximum lifetime of 30 seconds. CURA-7454
This commit is contained in:
parent
f26445a914
commit
1c9ce25614
@ -273,7 +273,7 @@ class CloudOutputDeviceManager:
|
||||
"Cloud connection is not available for some printers",
|
||||
len(self.reported_device_ids)
|
||||
),
|
||||
lifetime = 0
|
||||
lifetime = 30
|
||||
)
|
||||
device_names = "\n".join(["<li>{} ({})</li>".format(self._um_cloud_printers[device].name, self._um_cloud_printers[device].definition.name) for device in self.reported_device_ids])
|
||||
message_text = self.I18N_CATALOG.i18ncp(
|
||||
|
Loading…
x
Reference in New Issue
Block a user