Skip to content

Commit

Permalink
clear any stale queries at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
edeutsch committed Jul 13, 2023
1 parent 53d2684 commit 9cbbc38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/ARAX/ARAXQuery/ARAX_background_tasker.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ def run_tasks(self, config):
kp_info_cacher = KPInfoCacher()
kp_info_cacher_counter = 0

#### Clear the table of existing queries
eprint(f"{timestamp}: INFO: ARAXBackgroundTasker: Clearing any potential stale queries in ongoing query table")
query_tracker.clear_ongoing_queries()


while True:

#### Run the KP Info Cacher less frequently
Expand Down

0 comments on commit 9cbbc38

Please sign in to comment.