---
 src/device.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/device.go b/src/device.go
index 537af67..85d65b2 100644
--- a/src/device.go
+++ b/src/device.go
@@ -88,7 +88,7 @@ func (device *Device) IsUnderLoad() bool {
        now := time.Now()
        underLoad := len(device.queue.handshake) >= UnderLoadQueueSize
        if underLoad {
-               device.underLoadUntil.Store(now.Add(time.Second))
+               device.underLoadUntil.Store(now.Add(UnderLoadAfterTime))
                return true
        }
 
-- 
2.15.1

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard

Reply via email to