add noretry failure

This commit is contained in:
Niko Storni 2019-06-21 16:41:46 +02:00
parent 69ad13848b
commit 05b65c4cb5

View file

@ -675,6 +675,7 @@ func (s *Sync) startWorker(workerNum int) {
"Watch this video on YouTube.", "Watch this video on YouTube.",
"have blocked it on copyright grounds", "have blocked it on copyright grounds",
"the video must be republished as we can't get the right size", "the video must be republished as we can't get the right size",
"Invalid status code: 403",
} }
if strings.Contains(err.Error(), "txn-mempool-conflict") || if strings.Contains(err.Error(), "txn-mempool-conflict") ||
strings.Contains(err.Error(), "too-long-mempool-chain") { strings.Contains(err.Error(), "too-long-mempool-chain") {