Skip to content

Add /status endpoint to worker #7

@iarturo

Description

@iarturo

The worker (worker/index.js) has no way to check if it's
running and how far behind it is.

Tasks:

  • Add a simple HTTP server to the worker (use native http module)
  • GET /status returns: last_block, current_block, lag, uptime
  • Document the endpoint in README

Acceptance criteria:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions