FIX: Only cache reports with exceptions for 1 minute (#11447)

This commit is contained in:
Mark VanLandingham
2020-12-09 10:54:41 -06:00
committed by GitHub
parent 06077856ce
commit 521934f163
4 changed files with 32 additions and 4 deletions

View File

@@ -88,7 +88,7 @@ shared_examples "backup store" do
report_type = "storage_stats"
report = Report.find(report_type)
Report.cache(report, 35.minutes)
Report.cache(report)
expect(Report.find_cached(report_type)).to be_present
store.reset_cache