cb771f263d358cc7a4ad2447cb5de58ff7a59d5c,python/ray/serve/router.py,Router,_update_backend_configs,#Router#Any#,222

Before Change


        added, removed, updated = compute_dict_delta(self.backend_replicas,
                                                     backend_configs)
        for backend_tag, config in ChainMap(added, updated).items():
            self.backend_replicas[backend_tag].set_max_concurrent_queries(
                config.max_concurrent_queries)

        for backend_tag in removed.keys():

After Change


        added, removed, updated = compute_dict_delta(self.backend_replicas,
                                                     backend_configs)
        for backend_tag, config in ChainMap(added, updated).items():
            self._get_or_create_replica_set(
                backend_tag).set_max_concurrent_queries(
                    config.max_concurrent_queries)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: cb771f263d358cc7a4ad2447cb5de58ff7a59d5c
Time: 2021-01-28
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/router.py
Class Name: Router
Method Name: _update_backend_configs


Project Name: ray-project/ray
Commit Name: cb771f263d358cc7a4ad2447cb5de58ff7a59d5c
Time: 2021-01-28
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/router.py
Class Name: Router
Method Name: assign_request


Project Name: ray-project/ray
Commit Name: cb771f263d358cc7a4ad2447cb5de58ff7a59d5c
Time: 2021-01-28
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/serve/router.py
Class Name: Router
Method Name: _update_replica_handles