Changed locks to 1s default
This commit is contained in:
parent
f60d85fa89
commit
2435842ff6
4 changed files with 7 additions and 7 deletions
|
|
@ -11,7 +11,7 @@ class BaseStage(metaclass=ABCMeta):
|
|||
"""
|
||||
|
||||
def __init__(self):
|
||||
self.lock = StrictLock(name="Stage", timeout=5)
|
||||
self.lock = StrictLock(name="Stage", timeout=1)
|
||||
|
||||
@abstractmethod
|
||||
def update_settings(self, config: dict):
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class SangaStage(BaseStage):
|
|||
|
||||
@property
|
||||
def position(self):
|
||||
with self.lock:
|
||||
with self.lock(timeout=None):
|
||||
return self.board.position
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue