mirror of
https://github.com/wassname/ray.git
synced 2026-10-28 13:21:06 +08:00
Increase limit for autoscaler keys (#7007)
This commit is contained in:
1 parent
fbc545c03b
commit
cc43c9c1a2
1 file changed
+1
-1
@@ -134,7 +134,7 @@ def _configure_key_pair(config):
|
||||
ec2 = _resource("ec2", config)
|
||||
|
||||
# Try a few times to get or create a good key pair.
|
||||
MAX_NUM_KEYS = 20
|
||||
MAX_NUM_KEYS = 30
|
||||
for i in range(MAX_NUM_KEYS):
|
||||
key_name, key_path = key_pair(i, config["provider"]["region"])
|
||||
key = _get_key(key_name, config)
|
||||
|
||||
Reference in new issue
Block a user