fix: allow rediss connection scheme
This commit is contained in:
parent
d70190f8d3
commit
f2422ad219
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ REDIS_KEYS = ("redis_cache", "redis_queue")
|
|||
|
||||
|
||||
def is_open(scheme, hostname, port, path, timeout=10):
|
||||
if scheme in ["redis", "postgres", "mariadb"]:
|
||||
if scheme in ["redis", "rediss", "postgres", "mariadb"]:
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
conn = (hostname, int(port))
|
||||
elif scheme == "unix":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue