Busqueda con estilo

This commit is contained in:
2024-08-20 12:14:08 -03:00
parent e8483662e1
commit 8509a15f68
3 changed files with 31 additions and 30 deletions

View File

@ -12,7 +12,7 @@ DBURL = "postgres://#{USER}:#{PASS}@#{DBHOST}:5432/nombres"
puts "Connnecting to #{DBURL}"
# Create a connection pool to the database
pg = ConnectionPool.new(capacity: 5, timeout: 0.01.seconds) do
pg = ConnectionPool.new(capacity: 5, timeout: 0.2.seconds) do
PG.connect(DBURL)
end