summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Norman <jared@super.gd>2019-03-20 14:46:11 -0700
committerJared Norman <jared@super.gd>2019-03-20 14:46:11 -0700
commit7c3c7f8041b3dc156f676119c34d0045ad7a820b (patch)
tree6ecc44fb8912971ae28f40813164fb6aa960fb86
parent132bf515857d04f79143650a529d956e3bfb44a1 (diff)
Increase cache expiry time
-rw-r--r--lib/super_good/solidus_taxjar/tax_calculator.rb2
1 files changed, 1 insertions, 1 deletions
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