mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Only cache reports with exceptions for 1 minute (#11447)
This commit is contained in:
committed by
GitHub
parent
06077856ce
commit
521934f163
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user