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

   > 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.
   
   Got it. By the way, could you add me to the tomcat group? I have submitted 5 
PRs in the tomcat repository, some were partially accepted and some are 
resolved through alternative solutions. Of course, I plan to contribute more in 
the future. The badge is a big issue to a Java boy who wants to show off to his 
friends and colleagues.


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