Skip to content

Commit

Permalink
Maintenance: Clarify CacheClear job error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas committed Dec 6, 2024
1 parent 2f4b1d7 commit 0466024
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/jobs/cache_clear_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ def perform
return if !Rails.cache.is_a? ActiveSupport::Cache::FileStore

Rails.cache.cleanup
rescue => e
Rails.logger.error "Scheduled cache cleanup failed! #{e.inspect}"
end
end

0 comments on commit 0466024

Please sign in to comment.