Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix: update connection limit
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Mar 2, 2024
1 parent 44fa8d8 commit 9a117db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/kanao-cache/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const amqp = process.env.AMQP_HOST ?? process.env.AMQP_URL ?? "amqp://loc
export const clientId = process.env.CLIENT_ID ?? Buffer.from(discordToken.split(".")[0], "base64").toString();
export const production = process.env.NODE_ENV === "production";
export const databaseUrl = process.env.DATABASE_GATEWAY_URL ?? process.env.DATABASE_URL!;
export const databaseConnectionLimit = Number(process.env.DATABASE_CONNECTION_LIMIT ?? 10);
export const databaseConnectionLimit = Number(process.env.DATABASE_CONNECTION_LIMIT ?? 15);

export const stateMembers = process.env.STATE_MEMBER === "true";
export const stateUsers = process.env.STATE_USER === "true";
Expand Down

0 comments on commit 9a117db

Please sign in to comment.