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

Allow configuration of the time between 2 RefreshChannelsJob #2915

Merged
merged 9 commits into from
Feb 24, 2022

Conversation

MathiusD
Copy link
Contributor

Close #2060

The purpose of this PR is to allow the configuration of the time between 2 RefreshChannelsJob.

This PR proposes this configuration by adding the channel_refresh_time parameter in the configuration file (Cf usage in config/config.example.yml)

config/config.example.yml Outdated Show resolved Hide resolved
src/invidious/helpers/utils.cr Outdated Show resolved Hide resolved
src/invidious/config.cr Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
Unrelated to the issue since the change in management of channel_refresh_interval
Cf this remark : iv-org#2915 (comment)
Copy link
Member

@SamantazFox SamantazFox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code is good. Some minor changes needed in the example config file.

config/config.example.yml Outdated Show resolved Hide resolved
config/config.example.yml Outdated Show resolved Hide resolved
@SamantazFox SamantazFox merged commit 7f445f6 into iv-org:master Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Allow changing RefreshChannelsJob frequency
3 participants