From 0cdba4196fe59271250c8af2f68592c82a2f5cc4 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 2 Jan 2024 15:47:30 -0500 Subject: [PATCH] Bigger postgres pool size --- sgx_jmp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 9f2393ac0603ce6828bb448c6e552ba010daa92a..da8f861cbf221f34d309607a348c9bf726920b5d 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -204,7 +204,7 @@ when_ready do REDIS = EM::Hiredis.connect MEMCACHE = EM::P::Memcache.connect BTC_SELL_PRICES = BTCSellPrices.new(REDIS, CONFIG[:oxr_app_id]) - DB = Postgres.connect(dbname: "jmp") + DB = Postgres.connect(dbname: "jmp", size: 25) TEL_SELECTIONS = TelSelections.new DB.hold do |conn|