Skip to content

Commit

Permalink
Update WEBHOOK_INVOKER_TIMEOUT type to float
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Simone Di Luzio committed Oct 31, 2024
1 parent 5b6e1ac commit ca1e84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ca1e84d

Please sign in to comment.