From a688e7102e64bbdb08b9119705c55f52a246ca15 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 3 Mar 2023 02:00:48 +0100 Subject: [PATCH] Changed default `poll_interval` for `RunnablePlugin`. 30 -> 15 seconds. --- platypush/plugins/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/__init__.py b/platypush/plugins/__init__.py index 9db52b021..802a674ad 100644 --- a/platypush/plugins/__init__.py +++ b/platypush/plugins/__init__.py @@ -80,13 +80,13 @@ class RunnablePlugin(Plugin): def __init__( self, - poll_interval: Optional[float] = 30, + poll_interval: Optional[float] = 15, stop_timeout: Optional[float] = PLUGIN_STOP_TIMEOUT, **kwargs, ): """ :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 threads/processes to stop before exiting (default: 5 seconds). """