Skip to content

Commit

Permalink
set timeout to 3 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Oct 10, 2024
1 parent e0f2dbe commit b645da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/models/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (m *RecorderModel) SendMsgToRecorder(req *plugnmeet.RecordingReq) error {
_, err = m.app.NatsConn.RequestMsg(&nats.Msg{
Subject: m.app.NatsInfo.Recorder.RecorderChannel,
Data: payload,
}, time.Second*1)
}, time.Second*3)

return err
}

0 comments on commit b645da3

Please sign in to comment.