summaryrefslogtreecommitdiffstats
path: root/api/resources/v1
diff options
context:
space:
mode:
Diffstat (limited to 'api/resources/v1')
-rw-r--r--api/resources/v1/env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/resources/v1/env.py b/api/resources/v1/env.py
index f3c01152b..7c831fd74 100644
--- a/api/resources/v1/env.py
+++ b/api/resources/v1/env.py
@@ -117,7 +117,7 @@ class V1Env(ApiResource):
"isDefault": True,
}
try:
- HttpClient().post(url, data)
+ HttpClient().post(url, data, timeout=10)
except Exception:
LOG.exception('Create datasources failed')
raise