From 94b7b998d195a73afe638a3d9da926edd402e0b5 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 25 Aug 2021 18:49:37 -0500 Subject: [PATCH] hotfix --- lib/btc_sell_prices.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/btc_sell_prices.rb b/lib/btc_sell_prices.rb index e80aaf6..313ae92 100644 --- a/lib/btc_sell_prices.rb +++ b/lib/btc_sell_prices.rb @@ -52,7 +52,7 @@ protected @oxr.update_rates @oxr.get_rate("CAD", "USD") }.then do |orate| - @redis.set("cad_to_usd", orate, ex: 60 * 60).then { orate } + @redis.setex("cad_to_usd", orate, 60 * 60).then { orate } end end end -- 2.34.2