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

Make refresh tasks controllable through UI and API #148

Merged
merged 2 commits into from
Jul 30, 2023
Merged

Conversation

nfx
Copy link
Owner

@nfx nfx commented Jul 30, 2023

New config:

refresher

Source refresh component.

  • enabled - run the refresher. Enabled by default.
  • max_scheduled - number of sources to refresh at the same time. Defaults to 5.

New API:

POST /api/refresher/{source_name}

image Start refreshing the source

DELETE /api/refresher/{source_name}

image Stop refreshing the source.

@nfx nfx merged commit 93a057d into main Jul 30, 2023
@nfx nfx deleted the refresher-start-stop branch July 30, 2023 16:40
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.

1 participant