Handle /healthz for liveness checks. (#1264)

This commit is contained in:
stashist 2021-04-09 02:06:02 +02:00 committed by GitHub
parent 2edcdeaeb9
commit 4462b3cc8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -124,6 +124,7 @@ func Start() {
r := chi.NewRouter()
r.Use(middleware.Heartbeat("/healthz"))
r.Use(authenticateHandler())
r.Use(middleware.Recoverer)

View file

@ -3,6 +3,7 @@
* Added scene queue.
### 🎨 Improvements
* Add HTTP endpoint for health checking at /healthz.
* Support `today` and `yesterday` for `parseDate` in scrapers.
* Add random sorting option for galleries, studios, movies and tags.
* Disable sounds on scene/marker wall previews by default.