Skip to content

Commit

Permalink
Add envpprof to issue-930 test
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Apr 25, 2024
1 parent 4824cf9 commit bd2b7b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/issue-930/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import (
"math/rand"
"os"

"github.com/anacrolix/envpprof"

"github.com/anacrolix/torrent"
"github.com/anacrolix/torrent/metainfo"
"github.com/anacrolix/torrent/storage"
)

var client *torrent.Client

var index int = 0
var index = 0
var infoHashes = []string{
"6853ab2b86b2cb6a3c778b8aafe3dffd94242321",
"4d29c6c02c97caad937d8a9b66b0bb1b6f7cbbfe",
Expand All @@ -37,6 +39,7 @@ func init() {
}

func main() {
defer envpprof.Stop()
if len(os.Args) > 1 {
noServer()
return
Expand Down

0 comments on commit bd2b7b6

Please sign in to comment.