forked from platypush/platypush
Changed default poll_interval
for RunnablePlugin
.
30 -> 15 seconds.
This commit is contained in:
parent
ead4513915
commit
a688e7102e
1 changed files with 2 additions and 2 deletions
|
@ -80,13 +80,13 @@ class RunnablePlugin(Plugin):
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
poll_interval: Optional[float] = 30,
|
poll_interval: Optional[float] = 15,
|
||||||
stop_timeout: Optional[float] = PLUGIN_STOP_TIMEOUT,
|
stop_timeout: Optional[float] = PLUGIN_STOP_TIMEOUT,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
:param poll_interval: How often the :meth:`.loop` function should be
|
:param poll_interval: How often the :meth:`.loop` function should be
|
||||||
execute (default: 30 seconds).
|
execute (default: 15 seconds).
|
||||||
:param stop_timeout: How long we should wait for any running
|
:param stop_timeout: How long we should wait for any running
|
||||||
threads/processes to stop before exiting (default: 5 seconds).
|
threads/processes to stop before exiting (default: 5 seconds).
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue