Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

videos_limit_per_synchronization having no effect #6569

Open
TankieTanuki opened this issue Sep 2, 2024 · 2 comments
Open

videos_limit_per_synchronization having no effect #6569

TankieTanuki opened this issue Sep 2, 2024 · 2 comments
Labels

Comments

@TankieTanuki
Copy link

Describe the current behavior

Several videos are being imported from youtube every couple minutes by the same user.

Steps to reproduce

  1. Set these parameters in production.yaml
import:
  videos:
    timeout: '1 hour'
  video_channel_synchronization:
    max_per_user: 10
    check_interval: '1 hour'
    videos_limit_per_synchronization: 1
    full_sync_videos_limit: 500

  1. Restart peertube to have the settings take effect.
  2. Have a user create a sync to a youtube channel with a large number of videos.

Describe the expected behavior

Only one video should be imported per hour per user.

Additional information

  • PeerTube instance: TankieTube
    • URL: tankie.tube
    • Version: 6.2.1
    • NodeJS version: v18.20.4
    • Ffmpeg version: 5.1.6-0+deb12u1
@TankieTanuki
Copy link
Author

I also set the video quota to "none" for this user, and the imports are still coming in (way too fast). However, I'm not sure if this is a bug or feature; perhaps the quota only applies to manually uploaded videos. I'm not sure what the developer intended.

@Chocobozzz
Copy link
Owner

Hi,

Is it a sync creation with a full import? If yes, the setting taken into account is full_sync_videos_limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants