From ca1e84dcb1112a8da46cf411b1b52b8a8f5835fb Mon Sep 17 00:00:00 2001 From: Simone Di Luzio Date: Thu, 31 Oct 2024 17:35:16 +0100 Subject: [PATCH] Update WEBHOOK_INVOKER_TIMEOUT type to float Changed the type of WEBHOOK_INVOKER_TIMEOUT from int to float to ensure proper handling of non-integer timeout values. This modification allows for more precise configuration and prevents potential type-related issues. --- app/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/config.py b/app/core/config.py index 2385265..88a59a9 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -69,7 +69,7 @@ class Config: env_file = find_dotenv() env_file_encoding = "utf-8" - WEBHOOK_INVOKER_TIMEOUT: int = 30 + WEBHOOK_INVOKER_TIMEOUT: float = 30 settings = Settings()