summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-25 02:07:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-25 02:07:18 +0200
commite7e286ba6cf7a952279d5007f71c7d38cb510610 (patch)
treeb3cea36e2559940944cbea1ccb4d923fbb3f97fb
parentf70546bc2e5888de0530dfd0f97d8556a98bba68 (diff)
device: make initiations per second match kernel implementation
-rw-r--r--device/constants.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/constants.go b/device/constants.go
index 27d910f..e316f32 100644
--- a/device/constants.go
+++ b/device/constants.go
@@ -22,7 +22,7 @@ const (
RejectAfterTime = time.Second * 180
KeepaliveTimeout = time.Second * 10
CookieRefreshTime = time.Second * 120
- HandshakeInitationRate = time.Second / 20
+ HandshakeInitationRate = time.Second / 50
PaddingMultiple = 16
)