From d4a16ed3d9da5d28c45608470009083bb7416b34 Mon Sep 17 00:00:00 2001 From: JamesFlare1212 Date: Sat, 10 May 2025 12:52:40 -0400 Subject: [PATCH] fix: image not cleaned up when update cache --- services/cache-manager.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/cache-manager.mjs b/services/cache-manager.mjs index 206cba7..0f315d4 100644 --- a/services/cache-manager.mjs +++ b/services/cache-manager.mjs @@ -112,7 +112,7 @@ export async function updateStaleClubs() { // Optionally, iterate 0-MAX_ID_SCAN for any IDs not yet in Redis (newly created activities) // This part can be heavy. Consider if getAllRedisActivityKeys is sufficient for "staleness". // For truly new activities, they'd be picked up on direct API call or a less frequent full scan. - + await cleanupOrphanedS3Images(); await Promise.all(promises); logger.info('Stale club check finished.'); }