2
0
mirror of synced 2025-02-24 14:48:27 +00:00

Disable accept rate limiting by default in tests

This commit is contained in:
Matt Joiner 2018-06-17 21:20:41 +10:00
parent c1d1082136
commit 0f5a2f0c05

View File

@ -35,6 +35,7 @@ func TestingConfig() *ClientConfig {
cfg.DataDir = tempDir() cfg.DataDir = tempDir()
cfg.DisableTrackers = true cfg.DisableTrackers = true
cfg.NoDefaultPortForwarding = true cfg.NoDefaultPortForwarding = true
cfg.DisableAcceptRateLimiting = true
return cfg return cfg
} }