From dbfee9bda71020b8f11ae8d9b85932462b7fbee0 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Mon, 4 Oct 2021 13:50:08 -0700 Subject: [PATCH] Use nil for tty option in normalize_db_url --- lib/queue_classic/conn_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/queue_classic/conn_adapter.rb b/lib/queue_classic/conn_adapter.rb index b7a16aa8..4e434120 100644 --- a/lib/queue_classic/conn_adapter.rb +++ b/lib/queue_classic/conn_adapter.rb @@ -107,7 +107,7 @@ def normalize_db_url(url) [ host, # host or percent-encoded socket path url.port || 5432, - nil, '', #opts, tty + nil, nil, #opts, tty url.path.gsub("/",""), # database name url.user, url.password