removed profiler

This commit is contained in:
dd dd 2024-07-25 19:29:18 +02:00
parent 0500b41efd
commit a31522ca41

View File

@ -22,10 +22,6 @@ type Proxy struct {
} }
func New(ctx context.Context, config *config.ProxyConfig) *Proxy { func New(ctx context.Context, config *config.ProxyConfig) *Proxy {
// we need a webserver to get the pprof webserver
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
s := &Proxy{ s := &Proxy{
config: config, config: config,
pool: nostr.NewSimplePool(ctx), pool: nostr.NewSimplePool(ctx),