mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
feat: ECP-83 Clear cache after loading admin data
This commit is contained in:
parent
e4f53b5f94
commit
948f19015c
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ namespace(:data) do
|
|||
workers.each(&:join)
|
||||
|
||||
puts("=====================> Completed loading #{AdminDataValue.count - original_count} admin data values")
|
||||
Rails.cache.clear
|
||||
end
|
||||
|
||||
desc("reset all cache counters")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue