def reconfigure(self, service_id, workers):
try:<EOL><INDENT>sc = self._services[service_id]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise ValueError("<STR_LIT>" % service_id)<EOL><DEDENT>else:<EOL><INDENT>_utils.check_workers(workers, minimum=(<NUM_LIT:1> - sc.workers))<EOL>sc.workers = workers<EOL>self._forktimes = []<EOL><DEDENT>
Reconfigure a service registered in ServiceManager

        :param service_id: the service id
        :type service_id: uuid.uuid4
        :param workers: number of processes/workers for this service
        :type workers: int
        :raises: ValueError