Skip to content

Commit

Permalink
Remove unnecessary deprecation silencing in cache_store_compression_b…
Browse files Browse the repository at this point in the history
…ehavior.rb
  • Loading branch information
rafaelfranca committed Apr 30, 2024
1 parent 85a718e commit 16d6ddd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ def self.inflate(compressed)
LARGE_OBJECT = { data: LARGE_STRING }

def with_format(format_version, &block)
ActiveSupport.deprecator.silence do
ActiveSupport::Cache.with(format_version: format_version, &block)
end
ActiveSupport::Cache.with(format_version: format_version, &block)
end

def assert_compress(value, **options)
Expand Down

0 comments on commit 16d6ddd

Please sign in to comment.