Skip to content

feat: add health check action#3484

Merged
dvikan merged 1 commit intoRSS-Bridge:masterfrom
dvikan:fix-35
Jul 5, 2023
Merged

feat: add health check action#3484
dvikan merged 1 commit intoRSS-Bridge:masterfrom
dvikan:fix-35

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
@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.

1 participant