forked from platypush/platypush
Decreased time of EventQueue (2 -> 1 second) to make entity events more responsive
This commit is contained in:
parent
68497e6388
commit
a58caa17e2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue