Merge branch 'maintenance' into devel

This commit is contained in:
Gina Häußge committed 2021-03-15 17:08:47 +01:00
commit d2452c007e
12 files changed
+95 -63

No files matched your search

@@ -1076,10 +1076,14 @@ class SoftwareUpdatePlugin(
and not self._settings.get_boolean(["ignore_throttled"])
):
# currently throttled, we refuse to run
message = (
"System is currently throttled, refusing to update "
"anything due to possible stability issues"
)
self._logger.error(message)
flask.abort(
409,
description="System is currently throttled, refusing to update "
"anything due to possible stability issues",
description=message,
)
if self._printer.is_printing() or self._printer.is_paused():