mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
@@ -8,7 +8,6 @@ import (
|
||||
"sync"
|
||||
|
||||
"go-micro.dev/v4/client"
|
||||
"go-micro.dev/v4/debug/handler"
|
||||
"go-micro.dev/v4/logger"
|
||||
plugin "go-micro.dev/v4/plugins"
|
||||
"go-micro.dev/v4/server"
|
||||
@@ -153,14 +152,6 @@ func (s *service) Run() (err error) {
|
||||
}
|
||||
}
|
||||
|
||||
// register the debug handler
|
||||
s.opts.Server.Handle(
|
||||
s.opts.Server.NewHandler(
|
||||
handler.NewHandler(s.opts.Client),
|
||||
server.InternalHandler(true),
|
||||
),
|
||||
)
|
||||
|
||||
// start the profiler
|
||||
if s.opts.Profile != nil {
|
||||
// to view mutex contention
|
||||
|
||||
Reference in New Issue
Block a user