✨(api) define dimail timeout as a setting
Allow to param dimail timeout for each env
This commit is contained in:
@@ -512,6 +512,11 @@ class Base(Configuration):
|
||||
environ_name="MAIL_PROVISIONING_API_CREDENTIALS",
|
||||
environ_prefix=None,
|
||||
)
|
||||
MAIL_PROVISIONING_API_TIMEOUT = values.IntegerValue(
|
||||
default=20,
|
||||
environ_name="MAIL_PROVISIONING_API_TIMEOUT",
|
||||
environ_prefix=None,
|
||||
)
|
||||
DNS_PROVISIONING_API_URL = values.Value(
|
||||
default="https://api.scaleway.com",
|
||||
environ_name="DNS_PROVISIONING_API_URL",
|
||||
|
||||
Reference in New Issue
Block a user