1. //Reconnection Properties
  2.         dataSource {
  3.             properties {
  4.                 maxActive = 30
  5.                 minIdle = 1
  6.                 numTestsPerEvictionRun = 3
  7.                 testOnBorrow = true
  8.                 testWhileIdle = true
  9.                 testOnReturn = true
  10.                 validationQuery = "SELECT 1"
  11.                 minEvictableIdleTimeMillis = (1000 * 60 * 5)
  12.                 timeBetweenEvictionRunsMillis = (1000 * 60 * 5)
  13.             }
  14.         }