Fix benchmark broken by changes to client listeners
This commit is contained in:
parent
1a4950ad4a
commit
4f5387cbbd
|
@ -498,7 +498,6 @@ func BenchmarkAddLargeTorrent(b *testing.B) {
|
|||
cfg := TestingConfig()
|
||||
cfg.DisableTCP = true
|
||||
cfg.DisableUTP = true
|
||||
cfg.ListenHost = func(string) string { return "redonk" }
|
||||
cl, err := NewClient(cfg)
|
||||
require.NoError(b, err)
|
||||
defer cl.Close()
|
||||
|
|
Loading…
Reference in New Issue