From e71d6264a7e9ffb909847beb511af27ef7e48510 Mon Sep 17 00:00:00 2001 From: danfate Date: Tue, 2 Jul 2024 20:24:50 +0800 Subject: [PATCH] convert POSTFIX_TIMEOUT to int (#2135) --- app/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config.py b/app/config.py index 9a7fb62b..0e86cd8b 100644 --- a/app/config.py +++ b/app/config.py @@ -120,7 +120,7 @@ if POSTFIX_SUBMISSION_TLS: else: default_postfix_port = 25 POSTFIX_PORT = int(os.environ.get("POSTFIX_PORT", default_postfix_port)) -POSTFIX_TIMEOUT = os.environ.get("POSTFIX_TIMEOUT", 3) +POSTFIX_TIMEOUT = int(os.environ.get("POSTFIX_TIMEOUT", 3)) # ["domain1.com", "domain2.com"] OTHER_ALIAS_DOMAINS = sl_getenv("OTHER_ALIAS_DOMAINS", list)