Skip to content
Snippets Groups Projects
Verified Commit 31d60066 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Set export job timeout to 2 hours

parent 19c14802
No related branches found
No related tags found
1 merge request!1388Set export job timeout to 2 hours
......@@ -99,7 +99,7 @@ def send_email(subject, template_name, corpus_export, **context):
logger.error(f'Failed to send email to {corpus_export.user.email}')
@job('high')
@job('high', timeout=7200)
def export_corpus(corpus_export: CorpusExport) -> None:
_, db_path = tempfile.mkstemp(suffix='db')
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment