Add pprof endpoint when running in dev mode (#708)

This commit is contained in:
David Zhao
2022-05-23 00:34:16 -07:00
committed by GitHub
parent 96b095504b
commit a933f1513f
5 changed files with 15 additions and 29 deletions
+4
View File
@@ -24,6 +24,10 @@ import (
"os"
)
import (
_ "net/http/pprof"
)
// Injectors from wire.go:
func InitializeServer(conf *config.Config, currentNode routing.LocalNode) (*LivekitServer, error) {