Skip to content
Snippets Groups Projects
Commit b039df77 authored by Matthias Käppler's avatar Matthias Käppler :bicyclist_tone5: Committed by Alessio Caiazza
Browse files

Set appropriate timeouts for PrometheusClient

parent 0e418163
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