Skip to content

Commit

Permalink
fix: reverst(ha) timeout config settings
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Phelps <209477+markphelps@users.noreply.github.com>
  • Loading branch information
markphelps committed May 9, 2024
1 parent a9d81ab commit 1847eb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ func (s *Server) ListenAndServe(ctx context.Context) error {
}

listener, err := quic.ListenAddrEarly(s.conf.TunnelAddress, tlsConfig, &quic.Config{
MaxIdleTimeout: s.conf.KeepAlivePeriod,
KeepAlivePeriod: s.conf.MaxIdleTimeout,
MaxIdleTimeout: s.conf.MaxIdleTimeout,
KeepAlivePeriod: s.conf.KeepAlivePeriod,
})
if err != nil {
return err
Expand Down

0 comments on commit 1847eb4

Please sign in to comment.