You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
Talking with @fevo1971 it would be great to build a super simple app (thinking about a nodejs express) that accept a GET call (e.g on /health) and this checks everything we have in our stack:
auth-server (either /health or/and an advanced query such as users)
chain-db-watcher (/health)
hasura (/healtz or/and an advanced query including remote joins such as a post, with author name and a referendum with status)
chain-db server (a graphql request for treasury proposal with status), or we should check if prisma has health-check
blockchain node (an RPC/api call with latest block number)
nodewatcher job, get the blockIndex in chain-db, then wait 10s and get it again, it should increment.
The text was updated successfully, but these errors were encountered:
But why wait 10 seconds for it. It will slow down healthcheck endpoint. Can't i query blockIndex. And keep a variable in memory changed since last time which gives the number of seconds since last change and do healthcheck value based on that variable
Talking with @fevo1971 it would be great to build a super simple app (thinking about a nodejs express) that accept a GET call (e.g on
/health
) and this checks everything we have in our stack:users
)The text was updated successfully, but these errors were encountered: