We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e1300f commit 2b47549Copy full SHA for 2b47549
frontend/app/routes/api/health.ts
@@ -17,7 +17,7 @@ export async function loader({ context, params, request }: Route.LoaderArgs) {
17
log.info('Handling health check request');
18
19
const { include, exclude, timeout } = Object.fromEntries(new URL(request.url).searchParams);
20
- const redisHealthCheck = { name: 'redis', check: () => void getRedisClient().ping() };
+ const redisHealthCheck = { name: 'redis', check: async () => void (await getRedisClient().ping()) };
21
22
const healthCheckOptions: HealthCheckOptions = {
23
excludeComponents: toArray(exclude),
0 commit comments