Skip to content

Commit

Permalink
add username in RedisLockStore
Browse files Browse the repository at this point in the history
  • Loading branch information
vcidst committed Sep 18, 2023
1 parent 1634e56 commit 9d6d8a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rasa/core/lock_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def __init__(
host: Text = "localhost",
port: int = 6379,
db: int = 1,
username: Optional[Text] = None,
password: Optional[Text] = None,
use_ssl: bool = False,
ssl_certfile: Optional[Text] = None,
Expand All @@ -215,6 +216,8 @@ def __init__(
port: The port of the redis server.
db: The name of the database within Redis which should be used by Rasa
Open Source.
username: The username which should be used for authentication with the
Redis database.
password: The password which should be used for authentication with the
Redis database.
use_ssl: `True` if SSL should be used for the connection to Redis.
Expand All @@ -232,6 +235,7 @@ def __init__(
host=host,
port=int(port),
db=int(db),
username=username,
password=password,
ssl=use_ssl,
ssl_certfile=ssl_certfile,
Expand Down

0 comments on commit 9d6d8a2

Please sign in to comment.