Skip to content

Commit

Permalink
also clean cache
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Feb 5, 2025
1 parent 5ea962e commit 50efd16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wort/blueprints/compute/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def compute_sra(sra_id, recompute=False):
dataset.computed = None
db.session.add(dataset)
db.session.commit()
current_app.cache.delete(f"sra/{sra_id}")

# Not computed yet, send to proper queue
if dataset.size_MB <= 300:
Expand Down

0 comments on commit 50efd16

Please sign in to comment.