Skip to content
Snippets Groups Projects
Commit e62f749f authored by Valentin Valls's avatar Valentin Valls
Browse files

Merge branch 'keep_remote_exception_traceback' into 'master'

Ewoks: keep remote exception traceback

See merge request bliss/bliss!5279
parents 8865ccf3 8b76d7b6
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,7 @@ def update_ewoks_config(demo_resources: str, redis_host: str, redis_port: int) -
"result_serializer": "pickle",
"accept_content": ["application/json", "application/x-python-serialize"],
"result_expires": 600,
"task_remote_tracebacks": True,
},
}
......@@ -366,9 +367,8 @@ def start_oda_processes(
# Trigger workflows based on scan_info
cmd = ["blissoda", "workflows", "demo_session", "--log=info"]
cmd = oda_cmd(cmd, cli_options)
if cmd:
ctx = start_process("oda-redis-server", cmd, env=oda_env)
if oda_cmd(cmd, cli_options):
ctx = start_process("oda-submitter", cmd)
processes.append(stack.enter_context(ctx))
......
......@@ -3,4 +3,5 @@ celery:
result_backend: "redis://localhost:10002/4"
result_serializer: "pickle"
accept_content: ["application/json", "application/x-python-serialize"]
result_expires: 600
\ No newline at end of file
result_expires: 600
task_remote_tracebacks: true
\ No newline at end of file
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