MCPcopy Index your code
hub / github.com/coder/coder / ConnCount

Method ConnCount

agent/reconnectingpty/server.go:141–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139}
140
141func (s *Server) ConnCount() int64 {
142 return s.connCount.Load()
143}
144
145func (s *Server) handleConn(ctx context.Context, logger slog.Logger, conn net.Conn) (retErr error) {
146 defer conn.Close()

Callers 1

CollectMethod · 0.80

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected