GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit bbf11a97 authored by Cecylia Bocovich's avatar Cecylia Bocovich

Reduce SnowflakeTimeout to 20 seconds

The underlying smux layer sends a keep-alive ping every 10 seconds. This
modification will allow for one dropped/delayed ping before discarding
the snowflake
parent 7043a055
......@@ -16,7 +16,7 @@ import (
const (
ReconnectTimeout = 10 * time.Second
SnowflakeTimeout = 30 * time.Second
SnowflakeTimeout = 20 * time.Second
// How long to wait for the OnOpen callback on a DataChannel.
DataChannelTimeout = 10 * time.Second
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment