lib/pgbouncerhero/database.rb in pgbouncerhero-0.1.0 vs lib/pgbouncerhero/database.rb in pgbouncerhero-0.1.1

- old
+ new

@@ -15,10 +15,10 @@ def name @name ||= id.to_s end def connection - connection_model.new(host, port, user, password, dbname).connection + @connection ||= connection_model.new(host, port, user, password, dbname).connection end def host @url.host if @url end