From 9f86f3bf2963a9c2627e367f2f99a4315ebd4a30 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 7 Feb 2025 01:59:53 -0800 Subject: [PATCH] Remove preview expiry constants These are defined in the Coordinator instead --- app/models/party.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/party.rb b/app/models/party.rb index 1a949c1..4db8518 100644 --- a/app/models/party.rb +++ b/app/models/party.rb @@ -116,10 +116,6 @@ class Party < ApplicationRecord failed: 4 } - # Preview expiry constants - PREVIEW_EXPIRY = 30.days - MAX_RETRY_ATTEMPTS = 3 - after_commit :schedule_preview_generation, if: :should_generate_preview? def is_remix