added maxConnections and maxIdle to Configuration