Reduce DataChannelTimeout from 30s to 10s.

https://bugs.torproject.org/34042
This commit is contained in:
David Fifield 2020-05-01 10:49:40 -06:00
parent c8293a5de3
commit 7043a055f9

View file

@ -18,7 +18,7 @@ const (
ReconnectTimeout = 10 * time.Second
SnowflakeTimeout = 30 * time.Second
// How long to wait for the OnOpen callback on a DataChannel.
DataChannelTimeout = 30 * time.Second
DataChannelTimeout = 10 * time.Second
)
type dummyAddr struct{}