Skip to content

Commit

Permalink
[serve] Remove _prevent_downscale_ref in proxy (ray-project#42276)
Browse files Browse the repository at this point in the history
No longer needed due to Ray autoscaler being changed to not remove nodes containing 0-CPU actors.

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
  • Loading branch information
edoakes authored and vickytsang committed Jan 12, 2024
1 parent d75679e commit 76412b2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/ray/serve/_private/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ def __init__(
}
)

# `self._prevent_node_downscale_ref` is used to prevent the node from being
# downscaled when there are ongoing requests
self._prevent_node_downscale_ref = ray.put("prevent_node_downscale_object")
# `self._ongoing_requests` is used to count the number of ongoing requests
self._ongoing_requests = 0
# The time when the node starts to drain.
Expand Down

0 comments on commit 76412b2

Please sign in to comment.