Decreased time of EventQueue (2 -> 1 second) to make entity events more responsive

This commit is contained in:
Fabio Manganiello 2023-01-13 23:28:58 +01:00
parent 68497e6388
commit a58caa17e2
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -13,7 +13,7 @@ class EntitiesQueue(Queue):
upstream caller. upstream caller.
""" """
def __init__(self, stop_event: Optional[Event] = None, timeout: float = 2.0): def __init__(self, stop_event: Optional[Event] = None, timeout: float = 1.0):
super().__init__() super().__init__()
self._timeout = timeout self._timeout = timeout
self._should_stop = stop_event self._should_stop = stop_event