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
-1
View File
@@ -111,7 +111,6 @@ func setupServerWithWebhook() (server *service.LivekitServer, testServer *webhoo
}
conf.WebHook.URLs = []string{"http://localhost:7890"}
conf.WebHook.APIKey = testApiKey
conf.Development = true
conf.Keys = map[string]string{testApiKey: testApiSecret}
testServer = newTestServer(":7890")