Skip to content

Import queue Throttle #6894

Open
Open
@stevespaw

Description

Describe the problem to be solved

We are working with several groups that want to migrate to Peertube. We have scripts that can send the list of imports, this is pretty easy and works well. EXCEPT. The issue we have is that there is no throttle on the actual import of the video to the instance. We have high speed connections and we quickly fill up our local storage, before they are transcodes and moved to object storage. We have crashed a system several times.

Describe the solution you would like

Some way in setting or YAML to queue limit incoming import/uploads to a size limit - or at least a number of files. (This of course is that balance of time/transcodes we can do in a particular setup) The Transcode queue works well - maybe some trigger from the number of working transcodes to this import queue.
Example: "+4" imports to working transcodes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions