[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Reduce DataChannelTimeout from 30s to 10s.



commit 7043a055f9fb0680281ecffd7d458a43f2ce65b5
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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{}

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits