idleTestThreshold property

Duration idleTestThreshold
getter/setter pair

If a connection is idle for longer than this threshold, it will be tested with a simple SQL query before allocating it to a session.

Implementation

Duration idleTestThreshold = Duration(minutes: 1);