public-transport/cached-hafas-client

implement store.checkHealth

Open

#27 opened on May 3, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (1 fork)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (10 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Right now, every user of cached-hafas-client has to implement store-specific health check logic; This is a waste of time.

The Redis store would do a PING (as hvv-rest currently does manually). The SQLite store would always report as healthy because there's no network in between.

Contributor guide