Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed May 14, 2024
1 parent 631cd47 commit 1bc71ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pytroll_watchers/selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def running_selector(selector_config, subscriber_config):
Args:
selector_config: a dictionary of arguments to pass to the underlying redis instance, see
:py:class:`~redis.Redis`. You can also provide a ttl as an int
(seconds) or timedelta instance.
(seconds) or timedelta instance, otherwise it defaults to 300 seconds (5 minutes).
subscriber_config: a dictionary of arguments to pass to
:py:func:`~posttroll.subscriber.create_subscriber_from_dict_config`.
Expand Down Expand Up @@ -153,6 +153,7 @@ def run_selector(selector_config, subscriber_config, publisher_config):
selector_config: a dictionary of arguments to pass to the underlying redis instance, see
:py:class:`~redis.Redis`. You can also provide a *ttl* for the
selector as an int (seconds) or timedelta instance, so that incoming messages are forgotten after that time.
If not provided, the ttl defaults to 300 seconds (5 minutes).
Also, you can provide a *directory* for the underlying datastructure to store the data in.
subscriber_config: a dictionary of arguments to pass to
:py:func:`~posttroll.subscriber.create_subscriber_from_dict_config`. The subscribtion is used as a source for
Expand Down

0 comments on commit 1bc71ca

Please sign in to comment.