tranny / App /celery_config.py
Mbonea's picture
added streaming
07fd3f6
raw
history blame
695 Bytes
from os import environ
import ssl
task_serializer = "json"
result_serializer = "json"
accept_content = ["json"]
timezone = "Europe/Oslo"
enable_utc = True
broker_url = f"rediss://default:59c9ffda43f61cc18b44a3407a2a7793@master.transcription--legal-stuff--a96n-7tyr.addon.code.run:6379?ssl_cert_reqs=none"
result_backend = f"rediss://default:59c9ffda43f61cc18b44a3407a2a7793@master.transcription--legal-stuff--a96n-7tyr.addon.code.run:6379?ssl_cert_reqs=none"
# SSL/TLS and SNI configuration
broker_use_ssl = {
"ssl_cert_reqs": ssl.CERT_NONE,
"ssl_match_hostname": False,
"ssl_check_hostname": False,
"ssl_sni": "master.transcription--legal-stuff--a96n-7tyr.addon.code.run",
}