add temporary limit for huge channels
This commit is contained in:
parent
72039623e0
commit
ecba1014f8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue