* Fix #2619 - When redis feed is empty, fall back to database * Use redis value to return feed from database only while RegenerationWorker hasn't finished running * Fix specs * Replace usage of reject!
This commit is contained in:
parent
0f52e42c2d
commit
dc8a6244fc
4 changed files with 27 additions and 7 deletions
|
@ -17,6 +17,8 @@ class PrecomputeFeedService < BaseService
|
|||
statuses.each do |status|
|
||||
process_status(status)
|
||||
end
|
||||
|
||||
redis.del("account:#{@account.id}:regeneration")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue