Skip to content

Commit 683d30f

Browse files
committed
self-review
1 parent e4146af commit 683d30f

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,3 @@ require (
142142
google.golang.org/grpc v1.76.0 // indirect
143143
gopkg.in/yaml.v2 v2.4.0 // indirect
144144
)
145-
146-
replace github.com/livekit/psrpc => ../psrpc

pkg/sip/inbound.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,7 @@ func (s *Server) getInvite(sipCallID, toTag, fromTag string) *inProgressInvite {
167167
if ok {
168168
return is
169169
}
170-
is = &inProgressInvite{
171-
sipCallID: sipCallID,
172-
expireAt: time.Now().Add(inviteCredentialValidity),
173-
}
170+
is = &inProgressInvite{sipCallID: sipCallID}
174171
s.inProgressInvites[key] = is
175172
s.inviteTimeoutQueue.Reset(&utils.TimeoutQueueItem[*dialogKey]{Value: &key})
176173

pkg/sip/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ type inProgressInvite struct {
165165
sipCallID string
166166
challenge digest.Challenge
167167
lkCallID string // SCL_* LiveKit call ID assigned to this dialog
168-
expireAt time.Time
169168
}
170169

171170
func NewServer(region string, conf *config.Config, log logger.Logger, mon *stats.Monitor, getIOClient GetIOInfoClient) *Server {

0 commit comments

Comments
 (0)