tranny / App /celery_config.py
bla's picture
Update App/celery_config.py
214b8a1 verified
raw
history blame contribute delete
No virus
625 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"amqps://sjefunwo:5xdjo6373nODazvYQotC9oasOfVz-k7r@shark.rmq.cloudamqp.com/sjefunwo"
result_backend = f"db+postgresql+psycopg2://postgres.vfhoydxvxuesxhrcdnmx:PkkneZrSFsnJR6B@aws-0-us-west-1.pooler.supabase.com:5432/postgres"
# 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.cache--j5zxzwppzvjs.addon.code.run",
# }