diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-29 17:53:16 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-30 08:47:21 -0600 |
commit | 9fe923277d2ae9766c4a9fac33949ce0ed3748eb (patch) | |
tree | 15711f7168e95ff317ed850b86f5295b52c97b81 /services/errors.go | |
parent | manager: adjust for wintun api changes (diff) | |
download | wireguard-windows-9fe923277d2ae9766c4a9fac33949ce0ed3748eb.tar.xz wireguard-windows-9fe923277d2ae9766c4a9fac33949ce0ed3748eb.zip |
manager: delay stale adapter cleanup
By delaying this by 10 seconds, we ensure that we don't cause the locks
to be contended immediately on startup. Before, this added around 600ms
of latency to tunnel startup.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | services/errors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/errors.go b/services/errors.go index 237cb2c3..6944c5dd 100644 --- a/services/errors.go +++ b/services/errors.go @@ -56,7 +56,7 @@ func (e Error) Error() string { case ErrorBindSocketsToDefaultRoutes: return "Unable to bind sockets to default route" case ErrorSetNetConfig: - return "Unable to set interface addresses, routes, dns, and/or adapter settings" + return "Unable to set interface addresses, routes, dns, and/or interface settings" case ErrorOpenNULFile: return "Unable to open NUL file" case ErrorTrackTunnels: |