You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s.logger.Debugf("read response from batcher %s on request with trace id %x", s.endpoint, resp.TraceId)
60
-
s.logger.Debugf("registration for request with trace id %x was removed upon receiving a response", resp.TraceId)
61
-
ch<-Response{
62
-
SubmitResponse: resp,
63
-
}
64
-
} else {
55
+
s.logger.Debugf("read response from batcher %s on request with trace id %x", s.endpoint, resp.TraceId)
56
+
err=s.sendResponseToClient(resp)
57
+
iferr!=nil {
65
58
s.logger.Debugf("received a response from batcher %s for a request with trace id %x, which does not exist in the map, dropping response", s.endpoint, resp.TraceId)
66
59
}
67
60
}
@@ -81,17 +74,45 @@ func (s *stream) sendRequests() {
81
74
s.cancelOnServerError()
82
75
return
83
76
}
84
-
s.logger.Debugf("send request with trace id %x to batcher %s", msg.TraceId, s.endpoint)
0 commit comments