Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
141
func
(s *Server) ConnCount() int64 {
142
return
s.connCount.Load()
143
}
144
145
func
(s *Server) handleConn(ctx context.Context, logger slog.Logger, conn net.Conn) (retErr error) {
146
defer
conn.Close()
Callers
1
Collect
Method · 0.80
Calls
1
Load
Method · 0.45
Tested by
no test coverage detected