8000 Don't require SSL certs to local Redis · python/miss-islington@2b84d88 · GitHub
[go: up one dir, main page]

Skip to 8000 content

Commit 2b84d88

Browse files
committed
Don't require SSL certs to local Redis
1 parent c0fbac5 commit 2b84d88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

miss_islington/tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import asyncio
22
import os
3+
import ssl
34
import subprocess
45

56
import aiohttp
@@ -21,6 +22,7 @@
2122
broker_url=os.environ["HEROKU_REDIS_MAROON_URL"],
2223
result_backend=os.environ["HEROKU_REDIS_MAROON_URL"],
2324
broker_connection_retry_on_startup=True,
25+
broker_use_ssl={"ssl_cert_reqs": ssl.CERT_NONE},
2426
)
2527

2628
cache = cachetools.LRUCache(maxsize=500)

0 commit comments

Comments
 (0)
0