ppazos opened a new issue, #598:
URL: https://github.com/apache/grails-forge/issues/598

   HikariCP was added as the default connection pool to Grails 7.
   
   Reading their docs, they alert to "In order to avoid a rare condition where 
the pool goes to zero and does not recover it is necessary to configure TCP 
keepalive. Some JDBC drivers support this via properties, for example 
tcpKeepAlive=true on PostgreSQL, but in any case it can also be configured at 
the OS-level.".
   
   Checking the PR https://github.com/apache/grails-forge/pull/525/files I 
don't see any option related to the TCP keep alive.
   
   Should that be set?
   
   For instance, it seems for MySQL that option is default to true from version 
5.0.7 
https://dev.mysql.com/doc/connector-j/en/connector-j-connp-props-networking.html#cj-conn-prop_tcpKeepAlive
 so I wouldn't expect that to be explicitly set. Maybe for other databases that 
option is not true by default.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to