mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 21:32:15 +01:00
modified timer interval in new publisher
This commit is contained in:
parent
8cc389a63f
commit
0289bb58be
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue