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

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -