Set db pool size in config, and remove unused config values.