felixauringer commented on PR #3208: URL: https://github.com/apache/james-project/pull/3208#issuecomment-5864118293
@quantranhong1999 You also identified the problem that if running into a timeout, the query is not properly terminated on the postgres side. You included a fix in which the > PostgresExecutor sends a r2dbc-postgresql cancelRequest() before releasing the connection, so it is reusable within milliseconds. That sounded very reasonable to me. I understand that @chibenwa's fix should prevent these timeout errors, but if a timeout error would occur for some unrelated reason, this would currently still return that unusable connection to the pool, right? -- 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]
