postgresql - What units is timeout in Rails database.yml? -
in database.yml, timeout in seconds or milliseconds? , it, timeout entire database connection including wait time connection or else?
the timeout in milliseconds. entire time rails app wait database response. practice add reconnect option in file application try reconnecting server before giving in case of lost connection.
Comments
Post a Comment