diff --git a/revid/Revid.go b/revid/Revid.go index e807fddd..3616e994 100644 --- a/revid/Revid.go +++ b/revid/Revid.go @@ -405,14 +405,11 @@ func (r *revid) outputClips() { r.Log(Warning, "Send failed trying again!") // If the clip size is not bigger than the threshold then we classify // it as junk and we don't try to send it off again. - if len(clip) >= clipSizeThreshold { - err2 = r.sendClip(clip) - if err2 == nil { - break - } - } else { + err2 = r.sendClip(clip) + if err2 == nil { break } + // So that we don't fill up the log, once we reach the maxSendFailedErrorCount // we will add some delay to slow things down until we have a connection again time.Sleep(time.Duration(sendFailedDelay) * time.Second)