add a maximum connection parameter and set the default to 1000

configure the max connections parameter.