[tor-commits] [snowflake/master] Reduce DataChannelTimeout from 30s to 10s.
dcf at torproject.org
dcf at torproject.org
Tue May 5 01:44:15 UTC 2020
commit 7043a055f9fb0680281ecffd7d458a43f2ce65b5
Author: David Fifield <david at bamsoftware.com>
Date: Fri May 1 10:49:40 2020 -0600
Reduce DataChannelTimeout from 30s to 10s.
https://bugs.torproject.org/34042
---
client/lib/snowflake.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/lib/snowflake.go b/client/lib/snowflake.go
index 0076b79..91f7ecb 100644
--- a/client/lib/snowflake.go
+++ b/client/lib/snowflake.go
@@ -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{}
More information about the tor-commits
mailing list