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

feat: add health check action #3484

Merged
merged 1 commit into from
Jul 5, 2023
Merged

feat: add health check action #3484

merged 1 commit into from
Jul 5, 2023

Conversation

dvikan
Copy link
Contributor

@dvikan dvikan commented Jul 4, 2023

allows for easier programmatic health inspection of an rss-bridge instance.

could later expand with more health data and also check whether the cache is working properly etc.

example:

$ curl -i http://rssbridge.localhost/?action=health
HTTP/1.1 200 OK
Server: nginx/1.18.0
Date: Tue, 04 Jul 2023 10:06:30 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive

{
    "code": 200,
    "message": "all is good"
}

@dvikan dvikan merged commit 84501cf into RSS-Bridge:master Jul 5, 2023
7 checks passed
@dvikan dvikan deleted the fix-35 branch July 5, 2023 03:41
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.

None yet

1 participant