Skip to content

Commit

Permalink
fix(frontend): broken redis healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory-j-baker committed Dec 31, 2024
1 parent 0e1300f commit 2b47549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/routes/api/health.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export async function loader({ context, params, request }: Route.LoaderArgs) {
log.info('Handling health check request');

const { include, exclude, timeout } = Object.fromEntries(new URL(request.url).searchParams);
const redisHealthCheck = { name: 'redis', check: () => void getRedisClient().ping() };
const redisHealthCheck = { name: 'redis', check: async () => void (await getRedisClient().ping()) };

const healthCheckOptions: HealthCheckOptions = {
excludeComponents: toArray(exclude),
Expand Down

0 comments on commit 2b47549

Please sign in to comment.