Skip to content

Commit

Permalink
fix billing server healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
vklimontovich committed Jan 10, 2024
1 parent 495a85c commit 1337d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapps/ee-api/pages/api/healthcheck/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getServerLog } from "../../../lib/log";

const healthChecks: Record<string, () => Promise<any>> = {
postgres: async () => {
await pg.query(`SELECT count(*) from kvstore`);
await pg.query(`SELECT count(*) from newjitsuee.kvstore`);
},
clickhouse: async () => {
await clickhouse.query({ query: `SELECT 1 as chpool_healthcheck`, clickhouse_settings: { wait_end_of_query: 1 } });
Expand Down

1 comment on commit 1337d4a

@vercel
Copy link

@vercel vercel bot commented on 1337d4a Jan 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

new-jitsu-ee-api – ./webapps/ee-api

new-jitsu-ee-api-jitsu.vercel.app
onetag-ee-api.vercel.app
new-jitsu-ee-api-git-newjitsu-jitsu.vercel.app
ee.jitsu.dev

Please sign in to comment.