Commit graph

5 commits

Author SHA1 Message Date
Adam James
5e0d57cce0 Add Graphite Web HTTP request timeout option
If the Graphite Web server is unreachable, all requests for frontend
pages containing graphs hang until the backend HTTP request times out,
resulting in a very poor UX.

The Guzzle documentation states that the default behaviour is to wait
indefinitely, however in our testing the cURL handler has an internal
default of 30 seconds:

https://docs.guzzlephp.org/en/stable/request-options.html#timeout

This commit makes the HTTP request timeout configurable and sets a
reasonable default of 10 seconds.
2024-02-20 15:43:34 +01:00
Alexander A. Klimov
84fba6f5a1 Add switch for insecure TLS 2017-12-19 10:48:30 +01:00
Alexander A. Klimov
2d5f858da5 Simplify backend config 2017-11-27 10:32:01 +01:00
Alexander A. Klimov
2ff8c5edad Fix password misrepresentation 2017-11-21 19:14:34 +01:00
Alexander A. Klimov
d75b31158f Split configuration form
refs #54
2017-09-26 11:20:49 +02:00
Renamed from application/forms/ConfigForm.php (Browse further)