Skip to content

Commit 2b47549

Browse files
fix(frontend): broken redis healthcheck
1 parent 0e1300f commit 2b47549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/app/routes/api/health.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function loader({ context, params, request }: Route.LoaderArgs) {
1717
log.info('Handling health check request');
1818

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

2222
const healthCheckOptions: HealthCheckOptions = {
2323
excludeComponents: toArray(exclude),

0 commit comments

Comments
 (0)