idleTestThreshold property
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);
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.
Duration idleTestThreshold = Duration(minutes: 1);