mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Fixes autoscaling monitor when environment has set http_proxy or https_proxy (#14351)
This commit is contained in:
parent
5637d89ecc
commit
fc9182e63c
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ class Monitor:
|
|||
|
||||
# Initialize the gcs stub for getting all node resource usage.
|
||||
gcs_address = self.redis.get("GcsServerAddress").decode("utf-8")
|
||||
gcs_channel = grpc.insecure_channel(gcs_address)
|
||||
options = (("grpc.enable_http_proxy", 0), )
|
||||
gcs_channel = grpc.insecure_channel(gcs_address, options=options)
|
||||
self.gcs_node_resources_stub = \
|
||||
gcs_service_pb2_grpc.NodeResourceInfoGcsServiceStub(gcs_channel)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue