Commit ae952725 authored by Martin Juhas's avatar Martin Juhas
Browse files

make questionnaire evaluation threads daemons

parent cf039209
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -69,9 +69,8 @@ def run_background_free_form_assessment(submission_id: int):

        for answer, details in tasks:
            thread = threading.Thread(
                target=run_safe_task, args=(answer, details)
                target=run_safe_task, args=(answer, details), daemon=True,
            )
            thread.daemon = False
            thread.start()

    except Exception as e: