1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-06-08 10:26:36 +00:00

add env var to control timeout

This commit is contained in:
mithereal 2022-07-31 15:14:48 -07:00
parent 4930ba353e
commit 9b7c544466
4 changed files with 7 additions and 4 deletions

View file

@ -14,4 +14,5 @@ config :farside,
queries: [
"weather",
"time"
]
],
recv_timeout: System.get_env("FARSIDE_TIMEOUT") || "8000"

View file

@ -3,4 +3,4 @@ import Config
config :farside,
port: System.get_env("FARSIDE_PORT", nil),
services_json: System.get_env("FARSIDE_SERVICES_JSON", "services.json"),
services_json_data: System.get_env("FARSIDE_SERVICES_JSON_DATA") || ""
services_json_data: System.get_env("FARSIDE_SERVICES_JSON_DATA") || ""