We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d299db0 commit 434d20eCopy full SHA for 434d20e
internal/api/endpoint_stat.go
@@ -100,6 +100,8 @@ func (es *endpointStat) setMetricMeta(metricMeta *format.MetricMetaValue) {
100
101
func (es *endpointStat) report(code int, metric string) {
102
v := time.Since(es.timestamp).Seconds()
103
+ es.laneMutex.Lock()
104
+ defer es.laneMutex.Unlock()
105
t := statshouse.Tags{
106
1: es.endpoint,
107
2: strconv.Itoa(es.protocol),
0 commit comments