Arsnael commented on PR #2190:
URL: https://github.com/apache/james-project/pull/2190#issuecomment-2089489873

   So if I understand well, rls enabled or not we use the pool connection 
factory, and for things where we need a rls bypass (like some webadmin tasks 
for example) we still use the single connection, correct?
   
   First I think we can agree that:
   - the domain connection is not used anymore (except in some test), and can 
probably be removed?
   - can't we find a way to get rid of the single connection too? If we use the 
pool backed connection when rls is not enabled, certainly we could find a way 
as well to use the pool connection for tasks that need a rls bypass if rls is 
enabled right?
   
   Could be done in an other PR though :)


-- 
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: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to