fix: allow rediss connection scheme

This commit is contained in:
Devin Slauenwhite 2024-08-17 16:15:25 -04:00 committed by GitHub
parent d70190f8d3
commit f2422ad219
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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":