diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-03-11 02:55:23 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-03-11 02:55:29 +0100 |
commit | c604d674ae5fedf07e8722ceffcb556eaa3d2de6 (patch) | |
tree | 566ae2449cc367aa817fcb55cd0454762f8546dd /pkg | |
parent | 058377ee9cde00a68ffaffdee51dcce4354109eb (diff) |
[bug] increase bonafide timeout
10 seconds might be too low nowadays when accessed from some regions.
- Related: #463
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/vpn/bonafide/bonafide.go | 2 |
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 |