Skip to content

Commit 998871d

Browse files
committed
Mailgun timeout is also a time settings
1 parent b061c16 commit 998871d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/zimitfrontend/constants.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ApiConfiguration:
7575
"INTERNAL_ZIMFARM_WEBAPI", "https://api.farm.zimit.kiwix.org/v1"
7676
)
7777
zimfarm_requests_timeout = _get_time_setting("ZIMFARM_REQUESTS_TIMEOUT", "10s")
78-
mailgun_requests_timeout = int(os.getenv("MAILGUN_REQUESTS_TIMEOUT", "10"))
78+
mailgun_requests_timeout = _get_time_setting("MAILGUN_REQUESTS_TIMEOUT", "10s")
7979
zimfarm_username = os.getenv("_ZIMFARM_USERNAME", "-")
8080
zimfarm_password = os.getenv("_ZIMFARM_PASSWORD", "-")
8181
zimit_image = os.getenv("ZIMIT_IMAGE", "openzim/zimit:1.2.0")

0 commit comments

Comments
 (0)