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

Commit

Permalink
fix: default compression to true
Browse files Browse the repository at this point in the history
  • Loading branch information
KagChi committed Feb 22, 2024
1 parent 684575e commit 401006b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/kanao-gateway/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const enablePrometheus = process.env.ENABLE_PROMETHEUS === "true";
export const prometheusPort = Number(process.env.PROMETHEUS_PORT ?? 9_090);
export const prometheusPath = process.env.PROMETHEUS_PATH ?? "/metrics";

export const gatewayCompression = process.env.GATEWAY_COMPRESSION === "true";
export const gatewayCompression = process.env.GATEWAY_COMPRESSION ? true : process.env.GATEWAY_COMPRESSION === "true";
export const gatewayResume = process.env.GATEWAY_RESUME === undefined ? true : process.env.GATEWAY_RESUME === "true";
export const gatewayGuildPerShard = Number(process.env.GUILD_PER_SHARD ?? 2_000);
export const gatewayPresenceType = Number(process.env.GATEWAY_PRESENCE_TYPE ?? 0);
Expand Down

0 comments on commit 401006b

Please sign in to comment.