redis connection pool imported and adjusted