File tree 2 files changed +1
-8
lines changed 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 15
15
16
16
from custom_slack_provider .slack import CustomSlackClient
17
17
from hackathon .models import Hackathon
18
- #from teams.tasks import remove_admin_from_channel
19
18
20
19
21
20
logger = logging .getLogger (__name__ )
Original file line number Diff line number Diff line change 167
167
]
168
168
169
169
# Celery
170
+ CELERY_IMPORTS = ("hackathon.tasks" , )
170
171
CELERY_BROKER_URL = os .environ .get ('CELERY_BROKER' , 'redis://redis:6379' )
171
172
CELERY_RESULT_BACKEND = os .environ .get ('CELERY_RESULT_BACKEND' , 'redis://redis:6379' ) # noqa: E501
172
173
CELERY_ACCEPT_CONTENT = os .environ .get ('CELERY_ACCEPT_CONTENT' , 'application/json' ).split (',' ) # noqa: E501
225
226
integrations = [DjangoIntegration ()]
226
227
)
227
228
228
-
229
- CELERY_IMPORTS = ("hackathon.tasks" , )
230
- CELERY_BROKER_URL = os .environ .get ('CELERY_BROKER' , 'redis://redis:6379' )
231
- CELERY_RESULT_BACKEND = os .environ .get ('CELERY_RESULT_BACKEND' , 'redis://redis:6379' ) # noqa: E501
232
- CELERY_ACCEPT_CONTENT = os .environ .get ('CELERY_ACCEPT_CONTENT' , 'application/json' ).split (',' ) # noqa: E501
233
- CELERY_TASK_SERIALIZER = os .environ .get ('CELERY_TASK_SERIALIZER' , 'json' )
234
- CELERY_RESULT_SERIALIZER = os .environ .get ('CELERY_RESULT_SERIALIZER' , 'json' )
You can’t perform that action at this time.
0 commit comments