aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manager/updatestate.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-22 21:04:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-22 21:04:54 +0200
commitb6c9e14f37beaa050679361d145caf1524a481b3 (patch)
tree54b8a12cd7ded438b4dafab2f2ace03abfb0f1ce /manager/updatestate.go
parentwinipcfg: import (diff)
downloadwireguard-windows-b6c9e14f37beaa050679361d145caf1524a481b3.tar.xz
wireguard-windows-b6c9e14f37beaa050679361d145caf1524a481b3.zip
manager: don't delay updates by 10 seconds
Diffstat (limited to 'manager/updatestate.go')
-rw-r--r--manager/updatestate.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/manager/updatestate.go b/manager/updatestate.go
index 2e82baf8..4b2cf1c1 100644
--- a/manager/updatestate.go
+++ b/manager/updatestate.go
@@ -31,8 +31,6 @@ func checkForUpdates() {
return
}
- time.Sleep(time.Second * 10)
-
first := true
for {
update, err := updater.CheckForUpdate()