Skip to content

Commit

Permalink
fix(settings): match default timeout to benefits
Browse files Browse the repository at this point in the history
makes the default setting more useful
  • Loading branch information
thekaveman committed Sep 26, 2023
1 parent bf38280 commit 09b7271
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eligibility_server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
DEBUG_MODE = True
HOST = "0.0.0.0" # nosec
LOG_LEVEL = "INFO"
REQUEST_TIMEOUT = 5
REQUEST_TIMEOUT = (3, 20)

# Database settings

Expand Down Expand Up @@ -65,7 +65,7 @@ def log_level(self):

@property
def request_timeout(self):
return int(current_app.config["REQUEST_TIMEOUT"])
return current_app.config["REQUEST_TIMEOUT"]

# API settings

Expand Down

0 comments on commit 09b7271

Please sign in to comment.