From 1343584dc03c50c80eabb8199c4e7d0d6fb4bd56 Mon Sep 17 00:00:00 2001 From: eb3095 <45504889+eb3095@users.noreply.github.com> Date: Thu, 18 Nov 2021 17:28:37 -0500 Subject: 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. --- cloudinit/sources/DataSourceVultr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cloudinit/sources/DataSourceVultr.py') 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'], -- cgit v1.2.3