Use localhost and set redis password by default (#6481)

This commit is contained in:
Simon Mo
2019-12-17 19:41:19 -08:00
committed by GitHub
parent bbe5d83eb8
commit e530c37b0e
8 changed files with 31 additions and 7 deletions
+7
View File
@@ -195,3 +195,10 @@ PICKLE_BUFFER_METADATA = b"PICKLE"
PICKLE5_BUFFER_METADATA = b"PICKLE5"
AUTOSCALER_RESOURCE_REQUEST_CHANNEL = b"autoscaler_resource_request"
# The default password to prevent redis port scanning attack.
# Hex for ray.
REDIS_DEFAULT_PASSWORD = "5241590000000000"
# The default ip address to bind to.
NODE_DEFAULT_IP = "127.0.0.1"