leakDetectionThreshold property

Duration? get leakDetectionThreshold

If a connection is not returned to the pool within this time after being obtained by pool.connect(), the a warning message will be logged. Defaults to null, off by default. This setting is useful for tracking down code which leaks connections by forgetting to call Connection.close() on them.

Implementation

Duration? get leakDetectionThreshold;