| Index: p2p/base/portallocator.h
|
| diff --git a/p2p/base/portallocator.h b/p2p/base/portallocator.h
|
| index ec8da796ced3ebc3a75e320047ed7402d4246c3e..de8d2d9258480e0008d0bfb99e8a08384cb1c357 100644
|
| --- a/p2p/base/portallocator.h
|
| +++ b/p2p/base/portallocator.h
|
| @@ -448,6 +448,12 @@ class PortAllocator : public sigslot::has_slots<> {
|
| void set_max_ipv6_networks(int networks) { max_ipv6_networks_ = networks; }
|
| int max_ipv6_networks() { return max_ipv6_networks_; }
|
|
|
| + // Delay between different candidate gathering phases (UDP, TURN, TCP).
|
| + // Defaults to 1 second, but PeerConnection sets it to 50ms.
|
| + // TODO(deadbeef): Get rid of this. Its purpose is to avoid sending too many
|
| + // STUN transactions at once, but that's already happening if you configure
|
| + // multiple STUN servers or have multiple network interfaces. We should
|
| + // implement some global pacing logic instead if that's our goal.
|
| uint32_t step_delay() const { return step_delay_; }
|
| void set_step_delay(uint32_t delay) { step_delay_ = delay; }
|
|
|
|
|