Track Profile count in RecordDataCountsWorker (#14113)
This commit is contained in:
parent
f4cf94d700
commit
fb07a56879
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@ module Metrics
|
|||
sidekiq_options queue: :low_priority, retry: 10
|
||||
|
||||
def perform
|
||||
models = [User, Article, Organization, Comment, Podcast, PodcastEpisode, Listing, PageView, Notification, Message]
|
||||
models = [User, Article, Organization, Comment, Podcast, PodcastEpisode, Listing, PageView, Notification,
|
||||
Message, Profile]
|
||||
models.each do |model|
|
||||
db_count = begin
|
||||
model.count
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue