~singpolyma/sgx-jmp

8d2885ff6e8196ea5eb9fc5aac75a54d46346a5d — Stephen Paul Weber 3 months ago 2c61aa9
Print lua script load path
1 files changed, 2 insertions(+), 0 deletions(-)

M sgx_jmp.rb
M sgx_jmp.rb => sgx_jmp.rb +2 -0
@@ 110,6 110,8 @@ require_relative "lib/statsd"

ELECTRUM = Electrum.new(**CONFIG[:electrum])
ELECTRUM_BCH = Electrum.new(**CONFIG[:electrum_bch])

LOG.info "Loading scripts from #{__dir__/redis_lua}"
EM::Hiredis::Client.load_scripts_from("#{__dir__}/redis_lua")

Faraday.default_adapter = :em_synchrony