mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
always use fetch_stats to get AdminDashboardData data
This commit is contained in:
@@ -5,7 +5,7 @@ module Jobs
|
|||||||
every 30.minutes
|
every 30.minutes
|
||||||
|
|
||||||
def execute(args)
|
def execute(args)
|
||||||
stats = AdminDashboardData.new.as_json
|
stats = AdminDashboardData.fetch_stats
|
||||||
set_cache(AdminDashboardData, stats)
|
set_cache(AdminDashboardData, stats)
|
||||||
stats
|
stats
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user