Skip to content

Commit

Permalink
Merge branch 'release-1.0' into SPSH-1195
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderUngefug authored Nov 28, 2024
2 parents 0b9d769 + d79b1d7 commit 1c4650f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/health/health.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class HealthController {
public check(): Promise<HealthCheckResult> {
return this.health.check([
(): Promise<HealthIndicatorResult> =>
this.mikroOrm.pingCheck('database', { connection: this.em.getConnection() }),
this.mikroOrm.pingCheck('database', { connection: this.em.getConnection('read'), timeout: 3000 }),
(): Promise<HealthIndicatorResult> => this.keycloak.check(),
(): Promise<HealthIndicatorResult> => this.redis.check(),
]);
Expand Down

0 comments on commit 1c4650f

Please sign in to comment.