modified timer interval in new publisher

This commit is contained in:
iLLiCiTiT 2021-12-31 14:33:26 +01:00
parent 8cc389a63f
commit 0289bb58be

View file

@ -41,12 +41,15 @@ class MainThreadProcess(QtCore.QObject):
This approach gives ability to update UI meanwhile plugin is in progress.
"""
timer_interval = 10
def __init__(self):
super(MainThreadProcess, self).__init__()
self._items_to_process = collections.deque()
timer = QtCore.QTimer()
timer.setInterval(50)
timer.setInterval(self.timer_interval)
timer.timeout.connect(self._execute)