Improvement #2159
Log a warning when waiting for a connection due to full pool in PoolingDataSource
Start date:
29.12.2023
Due date:
% Done:
0%
Estimated time:
origin:
Description
In case of connection leaking, it is rather hard to find that a) some thread is waiting for a connection and b) who is leaking.
Acceptance Criteria¶
- When waiting longer than 10s for a connection, log a warning with a call stack
- For JTA enlisted connections that are not used in a JTA context, warn and enlist to close and rollback in the workunit anyway.