Use config_for for cache buster values (#34851)

This commit is contained in:
Matt Jankowski 2025-05-30 07:54:25 -04:00 committed by GitHub
parent 9860046b04
commit c025824f98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 13 additions and 19 deletions

View file

@ -95,7 +95,7 @@ class SuspendAccountService < BaseService
end
end
CacheBusterWorker.perform_async(attachment.url(style)) if Rails.configuration.x.cache_buster_enabled
CacheBusterWorker.perform_async(attachment.url(style)) if Rails.configuration.x.cache_buster.enabled
end
end
end

View file

@ -91,7 +91,7 @@ class UnsuspendAccountService < BaseService
end
end
CacheBusterWorker.perform_async(attachment.url(style)) if Rails.configuration.x.cache_buster_enabled
CacheBusterWorker.perform_async(attachment.url(style)) if Rails.configuration.x.cache_buster.enabled
end
end
end