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

Method existingDebugService

coderd/x/chatd/chatd_debug.go:52–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52func (p *Server) existingDebugService() *chatdebug.Service {
53 if p == nil {
54 return nil
55 }
56 if p.debugSvcFactory == nil {
57 return p.debugSvc
58 }
59 if !p.debugSvcReady.Load() {
60 return nil
61 }
62 return p.debugSvc
63}
64
65func (p *Server) scheduleDebugCleanup(
66 ctx context.Context,

Callers 3

acquireLoopMethod · 0.95
runChatMethod · 0.95

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected