From 803f140a183018b2c25d2b8f252d0efe9c660408 Mon Sep 17 00:00:00 2001 From: John Strunk Date: Thu, 13 Jun 2024 20:34:49 +0000 Subject: [PATCH] Remove requested key from the cache Signed-off-by: John Strunk --- summarize_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/summarize_api.py b/summarize_api.py index e2c97e2..f22d6cf 100755 --- a/summarize_api.py +++ b/summarize_api.py @@ -45,6 +45,7 @@ def summarize_issue(): when = datetime.datetime.now(UTC) - datetime.timedelta(hours=1) issue_cache.remove_older_than(when) + issue_cache.remove(key) issue = issue_cache.get_issue(client, key) summary = summarizer.summarize_issue(issue, max_depth=1)