Skip to content

Commit

Permalink
[wip] disable ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
jonavellecuerdo committed Oct 17, 2024
1 parent 101e6a2 commit 719f19f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions solenoid/celery.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import os
import os, ssl

from celery import Celery

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "solenoid.settings.base")

app = Celery("solenoid")
app = Celery(
"solenoid",
broker_use_ssl={"ssl_cert_reqs": ssl.CERT_NONE},
)
app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()

Expand Down

0 comments on commit 719f19f

Please sign in to comment.