Skip to content

Commit

Permalink
Make timeout globally configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
madeddie committed May 28, 2024
1 parent 795813e commit f30cc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tyora/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from .utils import find_link, parse_form

HTTP_TIMEOUT = 10
HTTP_TIMEOUT = int(os.getenv("HTTP_TIMEOUT", 10))
logger = logging.getLogger(__name__)

try:
Expand Down

0 comments on commit f30cc3a

Please sign in to comment.