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: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class EntitiesQueue(Queue):
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__()
self._timeout = timeout
self._should_stop = stop_event