Improve UI responsiveness

Treat settings to check for errors one by one instead of by batch of 10, because this can take a few 100s of milliseconds, which makes the UI choppy and barely allows for user interactions

CURA-11475
This commit is contained in:
Erwan MATHIEU 2024-03-18 13:24:52 +01:00
parent 5a346e3ce6
commit ce6642e992

View file

@ -49,7 +49,7 @@ class MachineErrorChecker(QObject):
self._keys_to_check = set() # type: Set[str]
self._num_keys_to_check_per_update = 10
self._num_keys_to_check_per_update = 1
def initialize(self) -> None:
self._error_check_timer.timeout.connect(self._rescheduleCheck)