From: Roland Häder Date: Sat, 10 Jun 2023 17:40:37 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ec25b94a4e98e8bdb72ce446e6baf4213e247dba;p=fba.git Continued: - no parameter for 'timeout' (here: 'headers' wasn't handled over) --- diff --git a/fba/federation.py b/fba/federation.py index 92669c5..8888682 100644 --- a/fba/federation.py +++ b/fba/federation.py @@ -137,6 +137,7 @@ def fetch_peers(domain: str, software: str) -> list: data = network.get_json_api( domain, "/api/v3/site", + headers, (config.get("connection_timeout"), config.get("read_timeout")) )