Skip to content

Commit

Permalink
Merge pull request #2134 from RTXteam/issue-2114
Browse files Browse the repository at this point in the history
  • Loading branch information
saramsey authored Sep 14, 2023
2 parents d5c210e + c7f73be commit 47b684f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/ARAX/ARAXQuery/ARAX_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def eprint(*args, **kwargs): print(*args, file=sys.stderr, **kwargs)

query_tracker_reset = ARAXQueryTracker()
query_tracker_reset.clear_unfinished_entries()
del query_tracker_reset

class response_locking(ARAXResponse):
def __init__(self, lock: threading.Lock):
Expand Down
2 changes: 2 additions & 0 deletions code/ARAX/ARAXQuery/ARAX_query_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def disconnect(self):
try:
self.session.close()
self.engine.dispose()
timestamp = str(datetime.now().isoformat())
eprint(f"{timestamp}: DEBUG: ARAXQueryTracker disconnecting session")
except:
eprint("ERROR: [ARAX_query_tracker.disconnect] Attempt to close and dispose of session failed")

Expand Down

0 comments on commit 47b684f

Please sign in to comment.