summaryrefslogtreecommitdiff
path: root/pkg/vpn/bonafide/bonafide.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-03-11 02:55:23 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-03-11 02:55:29 +0100
commitc604d674ae5fedf07e8722ceffcb556eaa3d2de6 (patch)
tree566ae2449cc367aa817fcb55cd0454762f8546dd /pkg/vpn/bonafide/bonafide.go
parent058377ee9cde00a68ffaffdee51dcce4354109eb (diff)
[bug] increase bonafide timeout
10 seconds might be too low nowadays when accessed from some regions. - Related: #463
Diffstat (limited to 'pkg/vpn/bonafide/bonafide.go')
-rw-r--r--pkg/vpn/bonafide/bonafide.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/vpn/bonafide/bonafide.go b/pkg/vpn/bonafide/bonafide.go
index 4203ba2..28cfe44 100644
--- a/pkg/vpn/bonafide/bonafide.go
+++ b/pkg/vpn/bonafide/bonafide.go
@@ -85,7 +85,7 @@ func New() *Bonafide {
RootCAs: certs,
},
},
- Timeout: time.Second * 10,
+ Timeout: time.Second * 30,
}
_, tzOffsetSeconds := time.Now().Zone()
tzOffsetHours := tzOffsetSeconds / secondsPerHour