From ecba1014f8b81a8f7d912cd034c3046737e8155e Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Wed, 25 Apr 2018 17:06:17 -0400 Subject: [PATCH] add temporary limit for huge channels --- ytsync.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ytsync.go b/ytsync.go index 3ca763d..a95e64a 100644 --- a/ytsync.go +++ b/ytsync.go @@ -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