Commit d8098b32 authored by Administrator's avatar Administrator

[FIX] Asynchronous task for prod.

parent 83c83f78
......@@ -237,8 +237,8 @@ def project(request, project_id):
)
try:
corpus.parse_and_extract_ngrams()
#corpus.parse_and_extract_ngrams.apply_async((), countdown=3)
#corpus.parse_and_extract_ngrams()
corpus.parse_and_extract_ngrams.apply_async((), countdown=3)
except Exception as error:
print(error)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment