f4239d27fa8ac9568d56c526295a1ea7bb72b2bd,python/ray/serve/api.py,,init,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,65

Before Change


    global_state.init_or_get_metric_monitor(
        gc_window_seconds=gc_window_seconds)
    if start_server:
        global_state.init_or_get_http_proxy(
            host=http_host, port=http_port).set_router_handle.remote(router)

    if start_server and blocking:
        block_until_http_ready("http://{}:{}/-/routes".format(
            http_host, http_port))

After Change


    def kv_store_connector(namespace):
        return SQLiteKVStore(namespace, db_path=kv_store_path)

    master = ServeMaster.options(
        detached=True, name=SERVE_MASTER_NAME).remote(kv_store_connector)

    ray.get(master.start_router.remote(queueing_policy.value, policy_kwargs))

    global_state = GlobalState(master)
    ray.get(master.start_metric_monitor.remote(gc_window_seconds))
    if start_server:
        ray.get(master.start_http_proxy.remote(http_host, http_port))

    if start_server and blocking:
        block_until_http_ready("http://{}:{}/-/routes".format(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: ray-project/ray
Commit Name: f4239d27fa8ac9568d56c526295a1ea7bb72b2bd
Time: 2020-04-01
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: init


Project Name: ray-project/ray
Commit Name: 7c0200c93b88898507dbafcb2d92314d0dbcd451
Time: 2020-04-28
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/api.py
Class Name:
Method Name: init


Project Name: ray-project/ray
Commit Name: 1e39c403709b96d0bfa9c139e927441acc232426
Time: 2020-09-27
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_capture_child_tasks