Skip to content

Commit

Permalink
server: update non-retriable-error list
Browse files Browse the repository at this point in the history
  • Loading branch information
jailuthra committed Apr 1, 2021
1 parent 211a8d5 commit 0dbebec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -872,8 +872,8 @@ func getSegDurMsString(seg *stream.HLSSegment) string {

func isNonRetryableError(e error) bool {
foundErr := false
for _, v := range ffmpeg.LPMSErrors {
if e.Error() == v.Desc {
for _, v := range ffmpeg.NonRetriableErrs {
if e.Error() == v {
foundErr = true
}
}
Expand Down

0 comments on commit 0dbebec

Please sign in to comment.