Skip to content

Commit

Permalink
add ssl params to RedisLockStore
Browse files Browse the repository at this point in the history
  • Loading branch information
vcidst authored and radovanZRasa committed Aug 28, 2023
1 parent a3e1717 commit 5d67ef1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rasa/core/lock_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,9 @@ def __init__(
db: int = 1,
password: Optional[Text] = None,
use_ssl: bool = False,
ssl_certfile: Optional[Text] = None,
ssl_keyfile: Optional[Text] = None,
ssl_ca_certs: Optional[Text] = None,
key_prefix: Optional[Text] = None,
socket_timeout: float = DEFAULT_SOCKET_TIMEOUT_IN_SECONDS,
) -> None:
Expand All @@ -230,6 +233,9 @@ def __init__(
db=int(db),
password=password,
ssl=use_ssl,
ssl_certfile=ssl_certfile,
ssl_keyfile=ssl_keyfile,
ssl_ca_certs=ssl_ca_certs,
socket_timeout=socket_timeout,
)

Expand Down

0 comments on commit 5d67ef1

Please sign in to comment.