Skip to content

Commit

Permalink
Merge pull request #200 from BenediktMKuehne/196-scanning-cannot-be-c…
Browse files Browse the repository at this point in the history
…ompleted-correctly

196 scanning cannot be completed correctly
  • Loading branch information
m-1-k-3 authored Apr 18, 2024
2 parents de065c1 + 4281e62 commit c367e78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions embark/uploader/boundedexecutor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from django.dispatch import receiver
from django.utils import timezone
from django.conf import settings
from django.db import close_old_connections

from uploader import finish_execution
from uploader.archiver import Archiver
Expand Down Expand Up @@ -96,6 +97,7 @@ def run_emba_cmd(cls, cmd, analysis_id=None, active_analyzer_dir=None):
if return_code != 0:
raise BoundedException("EMBA has non zero exit-code")

close_old_connections()
# get csv log location
csv_log_location = f"{settings.EMBA_LOG_ROOT}/{analysis_id}/emba_logs/csv_logs/f50_base_aggregator.csv"

Expand Down

0 comments on commit c367e78

Please sign in to comment.