Skip to content

Commit

Permalink
fix(agent): add keepalive loop when channel session is called
Browse files Browse the repository at this point in the history
  • Loading branch information
henrybarreto authored and gustavosbarreto committed Jan 2, 2025
1 parent 1e7f09e commit 308a2ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/agent/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ const (
func (s *Server) sessionRequestCallback(session gliderssh.Session, requestType string) bool {
session.Context().SetValue("request_type", requestType)

go s.startKeepAliveLoop(session)

return true
}

Expand Down

0 comments on commit 308a2ae

Please sign in to comment.