Skip to content

Timed download limits #414

Description

@Makhuta

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
The current speed limiting is fine but it would be nice to have in addition/different to "MAX_DOWNLOAD_BANDWIDTH_IN_KBPS" something like:
"MAX_DOWNLOAD_BANDWIDTH_IN_KBPS_IN_SCHEDULE" - for limiting the speed within the schedule
"MAX_DOWNLOAD_BANDWIDTH_IN_KBPS_OUT_SCHEDULE" - for possible limiting out of schedule
where both will be 0 (meaning unlimited) by default and the schedule could be defined by CRON using variable like:
"MAX_DOWNLOAD_BANDWIDTH_SCHEDULE" - which can be for example like "* 6-18 * * *" to use the alternative download speed (the "IN" one) when within the time period

Describe alternatives you've considered
This currently can be done manually but it requires changing the docker ENV variables and restarting the container which could cause issues and it would be easier to configure it once and stop worrying

Additional context
The original "MAX_DOWNLOAD_BANDWIDTH_IN_KBPS" can still be kept and used for "MAX_DOWNLOAD_BANDWIDTH_IN_KBPS_IN_SCHEDULE" if not configured otherwise so the previous versions won't break

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎛️ serverThere are things to do on the server🔧 featureNew feature or request

    Type

    No type

    Projects

    Status
    📃 New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions