Files
Takashi Kajinami 20bbf9d55c InfluxDB: Add timeout for HTTP requests
... to avoid processes from getting stuck due to the server not
responding in a timely manner (or even dying during handling requests).

This is the recommended approach[1] and is a call without timeout is
detected as an issue by bandit[2].

[1] https://requests.readthedocs.io/en/latest/user/advanced/#timeouts

[2]
Issue: [B113:request_without_timeout] Call to requests without timeout
Severity: Medium   Confidence: Low
CWE: CWE-400 (https://cwe.mitre.org/data/definitions/400.html)
More Info: https://bandit.readthedocs.io/en/1.9.2/plugins/

Change-Id: I6cb7296e68a1a65dfe7f81a9829cf31aacd110cd
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2026-03-31 00:21:38 +09:00
..
2026-03-13 20:16:07 +00:00