add temporary limit for huge channels

This commit is contained in:
Niko Storni 2018-04-25 17:06:17 -04:00
parent 72039623e0
commit ecba1014f8

View file

@ -424,6 +424,10 @@ func (s *Sync) processVideo(v video) (err error) {
return nil
}
if v.PlaylistPosition() > 3000 {
log.Println(v.ID() + " is old: skipping")
return nil
}
err = v.Sync(s.daemon, s.claimAddress, publishAmount, s.LbryChannelName)
if err != nil {
return err