Skip to content

Commit

Permalink
Mailgun timeout is also a time settings
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Sep 19, 2024
1 parent b061c16 commit 998871d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/zimitfrontend/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ApiConfiguration:
"INTERNAL_ZIMFARM_WEBAPI", "https://api.farm.zimit.kiwix.org/v1"
)
zimfarm_requests_timeout = _get_time_setting("ZIMFARM_REQUESTS_TIMEOUT", "10s")
mailgun_requests_timeout = int(os.getenv("MAILGUN_REQUESTS_TIMEOUT", "10"))
mailgun_requests_timeout = _get_time_setting("MAILGUN_REQUESTS_TIMEOUT", "10s")
zimfarm_username = os.getenv("_ZIMFARM_USERNAME", "-")
zimfarm_password = os.getenv("_ZIMFARM_PASSWORD", "-")
zimit_image = os.getenv("ZIMIT_IMAGE", "openzim/zimit:1.2.0")
Expand Down

0 comments on commit 998871d

Please sign in to comment.