Adjust article_feed_success_score throttle time to 5 mins (#20181)
This commit is contained in:
parent
4ce013626b
commit
777afeeacb
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class FeedEvent < ApplicationRecord
|
|||
end
|
||||
|
||||
def self.update_single_article_counters(article_id)
|
||||
ThrottledCall.perform("article_feed_success_score_#{article_id}", throttle_for: 15.minutes) do
|
||||
ThrottledCall.perform("article_feed_success_score_#{article_id}", throttle_for: 5.minutes) do
|
||||
impressions = FeedEvent.where(article_id: article_id, category: "impression")
|
||||
return if impressions.empty?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue