Skip to content

Run as middleware #4

Description

@gtramontina

How about having heartbeat also available as a connect middleware?
This middleware would add a /heartbeat (or something like this) to the stack, but would run the checks upon request, not within a loop.

The rationale behind this is to be able to have something in the app itself that would look things from within.

Perhaps also in the future, have ports of heartbeat to other languages/frameworks, like a rack middleware, for example.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions