diff options
author | eb3095 <45504889+eb3095@users.noreply.github.com> | 2021-11-18 17:28:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 16:28:37 -0600 |
commit | 1343584dc03c50c80eabb8199c4e7d0d6fb4bd56 (patch) | |
tree | 7c8eaa6800bd34e9bec8b2392076aedcb9001000 | |
parent | 7ebf04e3a1920b451a0bb4b6302706a2b6632d6b (diff) | |
download | vyos-cloud-init-1343584dc03c50c80eabb8199c4e7d0d6fb4bd56.tar.gz vyos-cloud-init-1343584dc03c50c80eabb8199c4e7d0d6fb4bd56.zip |
Fix Vultr timeout and wait values (#1113)
Some Vultr Datacenters can experience latency in the connection due
to the location of one of the dependant api's. The timouts need to be
adjusted so this isn't a failure in the future.
-rw-r--r-- | cloudinit/sources/DataSourceVultr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceVultr.py b/cloudinit/sources/DataSourceVultr.py index 68e1ff0b..abeefbc5 100644 --- a/cloudinit/sources/DataSourceVultr.py +++ b/cloudinit/sources/DataSourceVultr.py @@ -16,8 +16,8 @@ LOG = log.getLogger(__name__) BUILTIN_DS_CONFIG = { 'url': 'http://169.254.169.254', 'retries': 30, - 'timeout': 2, - 'wait': 2, + 'timeout': 10, + 'wait': 5, 'user-agent': 'Cloud-Init/%s - OS: %s Variant: %s' % (version.version_string(), util.system_info()['system'], |