Skip to content

Commit be932e8

Browse files
ashmckenzieIgor Drozdov
andcommitted
Merge branch 'id-fix-the-apdex-metric' into 'main'
Fix the established session metric See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/826 Merged-by: Ash McKenzie <[email protected]> Approved-by: Ash McKenzie <[email protected]> Co-authored-by: Igor Drozdov <[email protected]>
2 parents 8972b55 + 5d82d9f commit be932e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sshd/sshd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ func (s *Server) handleConn(ctx context.Context, nconn net.Conn) {
203203
gitlabKeyId: sconn.Permissions.Extensions["key-id"],
204204
gitlabKrb5Principal: sconn.Permissions.Extensions["krb5principal"],
205205
remoteAddr: remoteAddr,
206-
started: started,
206+
started: time.Now(),
207207
}
208208

209209
var err error

0 commit comments

Comments
 (0)