about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-01-18 01:02:51 +0100
committerGitHub <noreply@github.com>2019-01-18 01:02:51 +0100
commit69f782b54d035789a6386ed979940dd9719af1a1 (patch)
tree353783facf96b95090f0d76cb9ef09528430daf5 /app/services
parent90ff2e7608321389e968f512e709a1e0a7bf2657 (diff)
Fix code style of regeneration-related code (#9843)
Diffstat (limited to 'app/services')
-rw-r--r--app/services/precompute_feed_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/precompute_feed_service.rb b/app/services/precompute_feed_service.rb
index 4f771ff72..076dedaca 100644
--- a/app/services/precompute_feed_service.rb
+++ b/app/services/precompute_feed_service.rb
@@ -3,6 +3,7 @@
 class PrecomputeFeedService < BaseService
   def call(account)
     FeedManager.instance.populate_feed(account)
+  ensure
     Redis.current.del("account:#{account.id}:regeneration")
   end
 end