From fef1b66bd780e9a6b71cb70c7bef5df21d5ed741 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Tue, 2 Sep 2025 15:04:37 +0000 Subject: [PATCH] Prioritize database updates for videos over Bunny cache Update video metadata in PostgreSQL and invalidate Bunny.net cache to ensure data consistency. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/d05DGZF --- server/storage.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/server/storage.ts b/server/storage.ts index f090ff0..9b4a088 100644 --- a/server/storage.ts +++ b/server/storage.ts @@ -1044,7 +1044,16 @@ export class HybridStorage implements IStorage { } async updateVideo(id: string, video: UpdateVideo): Promise