always use fetch_stats to get AdminDashboardData data
This commit is contained in:
parent
db1820f39c
commit
991a36f4f2
|
@ -5,7 +5,7 @@ module Jobs
|
|||
every 30.minutes
|
||||
|
||||
def execute(args)
|
||||
stats = AdminDashboardData.new.as_json
|
||||
stats = AdminDashboardData.fetch_stats
|
||||
set_cache(AdminDashboardData, stats)
|
||||
stats
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue