aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit2f0ef4aab504f7e10d2dbb50777e80f3e12fd7e4 (patch)
tree54b8a12cd7ded438b4dafab2f2ace03abfb0f1ce
parentwinipcfg: import (diff)
downloadwireguard-windows-2f0ef4aab504f7e10d2dbb50777e80f3e12fd7e4.tar.xz
wireguard-windows-2f0ef4aab504f7e10d2dbb50777e80f3e12fd7e4.zip
manager: don't delay updates by 10 seconds
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-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()