mirror of
https://github.com/syncthing/syncthing.git
synced 2026-12-02 06:42:41 -08:00
1 file changed
+2
-2
@@ -46,8 +46,8 @@ var (
|
||||
}, []string{"datastore", "operation", "result"})
|
||||
)
|
||||
|
||||
func countIncomingRecordRequest(_ context.Context, _ network.Stream, req *pb.Message) {
|
||||
slog.Debug("Incoming request", "type", req.GetType())
|
||||
func countIncomingRecordRequest(_ context.Context, s network.Stream, req *pb.Message) {
|
||||
slog.Debug("Incoming request", "type", req.GetType(), "peer", s.Conn().RemotePeer())
|
||||
switch req.GetType() {
|
||||
case pb.Message_PUT_VALUE:
|
||||
metricAnnouncementUpdatesTotal.Inc()
|
||||
|
||||
Reference in new issue
Block a user