diff --git a/src/modules/health/services/health.service.ts b/src/modules/health/services/health.service.ts index aedde41..b129462 100644 --- a/src/modules/health/services/health.service.ts +++ b/src/modules/health/services/health.service.ts @@ -62,20 +62,14 @@ export class HealthService { try { const response = await firstValueFrom( this.httpService.get(url, { - timeout: 6000, + timeout: 500, }), ); status = response.status === 200 ? ServiceStatusEnum.UP : ServiceStatusEnum.DOWN; - - this.logger.log(`Health check for ${serviceName}: ${status}`); } catch (error) { status = ServiceStatusEnum.DOWN; - - this.logger.warn( - `Health check failed for ${serviceName}: ${error.message}`, - ); } if (serviceName === 'default') {