Skip to content

Commit

Permalink
FIX-#2280: use 32 bytes in secrets.token_hex (#2286)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev authored Oct 21, 2020
1 parent 39d69ab commit 544de0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modin/engines/ray/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def initialize_ray(

cluster = override_is_cluster or IsRayCluster.get()
redis_address = override_redis_address or RayRedisAddress.get()
redis_password = override_redis_password or secrets.token_hex(16)
redis_password = override_redis_password or secrets.token_hex(32)

if cluster:
# We only start ray in a cluster setting for the head node.
Expand Down

0 comments on commit 544de0d

Please sign in to comment.