Skip to content

Commit

Permalink
Update portal/models/qb_timeline.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Cvitkovic <[email protected]>
  • Loading branch information
pbugni and ivan-c committed Mar 5, 2024
1 parent bf7b664 commit 5665dec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions portal/models/qb_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,8 @@ def invalidate_users_QBT(user_id, research_study_id):
if not current_app.config.get("TESTING", False):
# clear the timeout lock as well, since we need a refresh
# after deletion of the adherence data
# otherwise, we experience a deadlock situation where tables can't be dropped
# between test runs, as postgres believes a deadlock condition exists
cache_moderation = CacheModeration(key=ADHERENCE_DATA_KEY.format(
patient_id=user_id,
research_study_id=research_study_id))
Expand Down

0 comments on commit 5665dec

Please sign in to comment.