mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +00:00
app/vmselect: update comment according to the updated code
This commit is contained in:
parent
feb6b203a4
commit
4859ca0cda
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func Stop() {
|
||||||
// RequestHandler handles remote read API requests for Prometheus
|
// RequestHandler handles remote read API requests for Prometheus
|
||||||
func RequestHandler(w http.ResponseWriter, r *http.Request) bool {
|
func RequestHandler(w http.ResponseWriter, r *http.Request) bool {
|
||||||
// Limit the number of concurrent queries.
|
// Limit the number of concurrent queries.
|
||||||
// Sleep for a second until giving up. This should resolve short bursts in requests.
|
// Sleep for a while until giving up. This should resolve short bursts in requests.
|
||||||
t := time.NewTimer(*maxQueueDuration)
|
t := time.NewTimer(*maxQueueDuration)
|
||||||
select {
|
select {
|
||||||
case concurrencyCh <- struct{}{}:
|
case concurrencyCh <- struct{}{}:
|
||||||
|
|
Loading…
Reference in a new issue