Skip to content
Snippets Groups Projects
Commit d61cceeb authored by Alessio Caiazza's avatar Alessio Caiazza
Browse files

Merge branch '232468-prometheus-conn-timeout' into 'master'

Set appropriate timeouts for PrometheusClient

Closes #232468

See merge request gitlab-org/gitlab!37924
parents 7cb8dac3 b039df77
No related branches found
No related tags found
No related merge requests found
---
title: Set appropriate timeouts for PrometheusClient
merge_request: 37924
author:
type: other
Loading
Loading
@@ -132,7 +132,7 @@ module Gitlab
 
def http_options
strong_memoize(:http_options) do
{ follow_redirects: false }.merge(mapped_options)
{ follow_redirects: false, open_timeout: 5, read_timeout: 10 }.merge(mapped_options)
end
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment