fixed cut and paste error with min idle connections being set as max idle connections instead