diff options
author | Jared Norman <jared@super.gd> | 2019-03-20 14:46:11 -0700 |
---|---|---|
committer | Jared Norman <jared@super.gd> | 2019-03-20 14:46:11 -0700 |
commit | 7c3c7f8041b3dc156f676119c34d0045ad7a820b (patch) | |
tree | 6ecc44fb8912971ae28f40813164fb6aa960fb86 /lib | |
parent | 132bf515857d04f79143650a529d956e3bfb44a1 (diff) |
Increase cache expiry time
Diffstat (limited to 'lib')
-rw-r--r-- | lib/super_good/solidus_taxjar/tax_calculator.rb | 2 |
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 |