From 7c3c7f8041b3dc156f676119c34d0045ad7a820b Mon Sep 17 00:00:00 2001 From: Jared Norman Date: Wed, 20 Mar 2019 14:46:11 -0700 Subject: Increase cache expiry time --- lib/super_good/solidus_taxjar/tax_calculator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/super_good/solidus_taxjar/tax_calculator.rb b/lib/super_good/solidus_taxjar/tax_calculator.rb index 25339ac..e8e12f4 100644 --- a/lib/super_good/solidus_taxjar/tax_calculator.rb +++ b/lib/super_good/solidus_taxjar/tax_calculator.rb @@ -116,7 +116,7 @@ module SuperGood def cache if !Rails.env.test? - Rails.cache.fetch(cache_key, expires_in: 10.minutes) { yield } + Rails.cache.fetch(cache_key, expires_in: 3.hours) { yield } else yield end -- cgit v1.2.3