mirror of
https://github.com/asmogo/nws.git
synced 2024-12-13 02:46:22 +00:00
removed profiler
This commit is contained in:
parent
0500b41efd
commit
a31522ca41
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user