mirror of
				https://github.com/grafana/grafana.git
				synced 2025-02-25 18:55:37 -06:00 
			
		
		
		
	feat(alerting): increase timeout to 15s
This commit is contained in:
		@@ -20,7 +20,7 @@ type DefaultEvalHandler struct {
 | 
			
		||||
func NewEvalHandler() *DefaultEvalHandler {
 | 
			
		||||
	return &DefaultEvalHandler{
 | 
			
		||||
		log:             log.New("alerting.evalHandler"),
 | 
			
		||||
		alertJobTimeout: time.Second * 10,
 | 
			
		||||
		alertJobTimeout: time.Second * 15,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -38,7 +38,7 @@ func init() {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	HttpClient = http.Client{
 | 
			
		||||
		Timeout:   time.Duration(10 * time.Second),
 | 
			
		||||
		Timeout:   time.Duration(15 * time.Second),
 | 
			
		||||
		Transport: tr,
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user