Conversation
| @@ -36,6 +38,21 @@ | |||
| app_exoctk.config['CACHE_TYPE'] = 'null' | |||
| app_exoctk.config['SECRET_KEY'] = 'Thisisasecret!' | |||
There was a problem hiding this comment.
Can't be a secret if it's in a public repo 🤔
There was a problem hiding this comment.
Haha, this has been here forever.
|
|
||
| # Long-running Celery task | ||
| @celery.task | ||
| def run_contam_visibility_task(params): |
There was a problem hiding this comment.
Looks like you haven't implemented the task to tun the contam tool quite yet? Did you mean to call the contam tool in place time with the params supplied by the user in the form?
There was a problem hiding this comment.
Oh yeah, haha. Not sure how I avoided the timeout in my test though! Line 528 is the task that needs to be put into run_contam_visibility_task. Let me update it and test it.
|
@mfixstsci It looks like it's working but I don't think celery is handling the task. Redis has nothing in it's log and just says "OK". Do you see anything suspect? |
|
Closing in favor of #654 . |
Adding
celeryto handle server timeout of Contamination Tool calculations.Also fixes #624 with a quick path change.