mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue