Skip to content

Commit

Permalink
hotfix celery
Browse files Browse the repository at this point in the history
  • Loading branch information
GitLukeW committed Aug 21, 2023
1 parent ce97eea commit b10d860
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions config/celery_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
# for production
app = Celery(
"config",
broker_use_ssl={
'ssl_cert_reqs': ssl.CERT_NONE
},
redis_backend_use_ssl={
'ssl_cert_reqs': ssl.CERT_NONE
}
)
# app = Celery(
# "config",
# broker_use_ssl={
# 'ssl_cert_reqs': ssl.CERT_NONE
# },
# redis_backend_use_ssl={
# 'ssl_cert_reqs': ssl.CERT_NONE
# }
# )

# for development
# app = Celery('config')
app = Celery('config')

app.conf.beat_schedule = {
'notify-every-5-min': {
Expand Down

0 comments on commit b10d860

Please sign in to comment.