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

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

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