From 1c2ec2c664fc368e3f456cf86f64629076aef6f1 Mon Sep 17 00:00:00 2001 From: Jake Taylor <jake@elixxir.io> Date: Thu, 30 Jun 2022 16:18:10 -0500 Subject: [PATCH] fix bug in connect tracker --- connect/connect.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/connect/connect.go b/connect/connect.go index 96f4b900f..0f3329bc3 100644 --- a/connect/connect.go +++ b/connect/connect.go @@ -215,11 +215,15 @@ type handler struct { // partner.Manager. func BuildConnection(partner partner.Manager, e2eHandler clientE2e.Handler, auth auth.State, p Params) Connection { + lastUse := netTime.Now().UnixNano() + closed := uint32(0) return &handler{ auth: auth, partner: partner, params: p, e2e: e2eHandler, + lastUse: &lastUse, + closed: &closed, } } -- GitLab