import { Module } from '@nestjs/common';
import { HealthController } from './health.controller';
import { TrackingModule } from '../tracking/tracking.module';

/**
 * Health module. Depends on TrackingModule for the {@link RedisRouter} so the
 * health endpoint can report spool depth + black reachability. No DB indicator
 * — the edge has no database.
 */
@Module({
  imports: [TrackingModule],
  controllers: [HealthController],
})
export class HealthModule {}
