Pulsar

Health Check Interval

Configure how frequently the engine inspects its internal health and runtime state.

The healthCheckIntervalSec property defines how often (in seconds) the Pulsar engine evaluates its own internal health, active background tasks, and runtime state.

Usage

Pass healthCheckIntervalSec inside the engine configuration object:

const engine = new Pulsar({
  runtime: PulsarRuntime.PERSISTENT,
  engine: {
    healthCheckIntervalSec: 15, 
  },
});

Configuration Reference

  • Default: 15 seconds

Keeping the default interval of 15 seconds ensures timely detection of runtime stalls or unhealthy worker states without introducing unnecessary overhead.

On this page