Skip to content

Commit e259d1d

Browse files
committed
fix: server was trying to retry some not retriable errors
1 parent 8f05e18 commit e259d1d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

server/scheduler/scheduler.go

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,9 @@ func verifyFailureMessage(message string) bool {
549549
if simpleRegex(`error on process PGS.*no such file or directory`, message) {
550550
return true
551551
}
552-
if simpleRegex(`At least one output file must be specified`, message) {
553-
return true
554-
}
552+
//if simpleRegex(`At least one output file must be specified`, message) {
553+
// return true
554+
//}
555555
if simpleRegex(`MKVExtract unexpected error`, message) {
556556
return true
557557
}
@@ -561,18 +561,18 @@ func verifyFailureMessage(message string) bool {
561561
if simpleRegex(`dow(n)?load code 500`, message) {
562562
return true
563563
}
564-
if simpleRegex(`Trailing option\(s\) found in the command`, message) {
565-
return true
566-
}
567-
if simpleRegex(`signal: killed`, message) {
568-
return true
569-
}
570-
if simpleRegex(`signal: aborted`, message) {
571-
return true
572-
}
573-
if simpleRegex(`error getting data`, message) {
574-
return true
575-
}
564+
//if simpleRegex(`Trailing option\(s\) found in the command`, message) {
565+
// return true
566+
//}
567+
//if simpleRegex(`signal: killed`, message) {
568+
// return true
569+
//}
570+
//if simpleRegex(`signal: aborted`, message) {
571+
// return true
572+
//}
573+
//if simpleRegex(`error getting data`, message) {
574+
// return true
575+
//}
576576
if message == "exit status 1: stder: stdout:" {
577577
return true
578578
}
@@ -597,9 +597,9 @@ func verifyFailureMessage(message string) bool {
597597
if simpleRegex(`connection refused`, message) {
598598
return true
599599
}
600-
if simpleRegex(`srt: Invalid data found when processing input`, message) {
601-
return true
602-
}
600+
//if simpleRegex(`srt: Invalid data found when processing input`, message) {
601+
// return true
602+
//}
603603
//if simpleRegex(`segmentation fault`, message) {
604604
// return true
605605
//}

0 commit comments

Comments
 (0)