arturobernalg commented on PR #1281:
URL: https://github.com/apache/tomcat/pull/1281#issuecomment-7311321046

   This doesn't fix BZ 56804. Whether `setQueryTimeout()` has any effect when 
the database stops responding depends on the driver. With the current 
PostgreSQL driver and an unresponsive database the validation query still hangs 
with this patch applied. What is needed there is a socket timeout configured on 
the driver.
   
   The new default also applies to `initSQL`, so an `initSQL` that takes more 
than 5s now fails.
   
   I'm -1 on changing the default. A documentation patch explaining the above 
would be welcome.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to