summaryrefslogtreecommitdiff
path: root/lib/super_good
diff options
context:
space:
mode:
authorJared Norman <jared@super.gd>2019-03-20 14:51:56 -0700
committerGitHub <noreply@github.com>2019-03-20 14:51:56 -0700
commita0ff6b6c3594bc0a6df3e1800a382d0709f052c4 (patch)
tree6ecc44fb8912971ae28f40813164fb6aa960fb86 /lib/super_good
parent132bf515857d04f79143650a529d956e3bfb44a1 (diff)
parent7c3c7f8041b3dc156f676119c34d0045ad7a820b (diff)
Merge pull request #6 from SuperGoodSoft/feature/more-cache
Increase cache expiry time
Diffstat (limited to 'lib/super_good')
-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