Skip to content

Commit

Permalink
Don't require SSL certs to local Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Oct 16, 2024
1 parent c0fbac5 commit 2b84d88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions miss_islington/tasks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import asyncio
import os
import ssl
import subprocess

import aiohttp
Expand All @@ -21,6 +22,7 @@
broker_url=os.environ["HEROKU_REDIS_MAROON_URL"],
result_backend=os.environ["HEROKU_REDIS_MAROON_URL"],
broker_connection_retry_on_startup=True,
broker_use_ssl={"ssl_cert_reqs": ssl.CERT_NONE},
)

cache = cachetools.LRUCache(maxsize=500)
Expand Down

0 comments on commit 2b84d88

Please sign in to comment.