mirror of
https://github.com/wassname/ray.git
synced 2026-07-25 13:30:52 +08:00
[autoscaler] Retry creating EC2 instances in new AZ (#6129)
This commit is contained in:
committed by
Richard Liaw
parent
d17ae5ad7a
commit
01aee8d970
@@ -147,6 +147,8 @@ REPORTER_UPDATE_INTERVAL_MS = env_integer("REPORTER_UPDATE_INTERVAL_MS", 500)
|
||||
|
||||
# Max number of retries to AWS (default is 5, time increases exponentially)
|
||||
BOTO_MAX_RETRIES = env_integer("BOTO_MAX_RETRIES", 12)
|
||||
# Max number of retries to create an EC2 node (retry different subnet)
|
||||
BOTO_CREATE_MAX_RETRIES = env_integer("BOTO_CREATE_MAX_RETRIES", 5)
|
||||
|
||||
LOGGER_FORMAT = (
|
||||
"%(asctime)s\t%(levelname)s %(filename)s:%(lineno)s -- %(message)s")
|
||||
|
||||
Reference in New Issue
Block a user