forked from quic-go/quic-go
add (disabled) profiling instrumentation to example server
This commit is contained in:
@@ -100,6 +100,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
// defer profile.Start().Stop()
|
||||||
go func() {
|
go func() {
|
||||||
log.Println(http.ListenAndServe("localhost:6060", nil))
|
log.Println(http.ListenAndServe("localhost:6060", nil))
|
||||||
}()
|
}()
|
||||||
|
|||||||
Reference in New Issue
Block a user