Skip to content

Commit

Permalink
hotfix: more cache
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipHarald committed Oct 17, 2024
1 parent 6881996 commit 9223ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/explorer-api/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CHAIN_NAME } from "./constants.js";
export const PUBLIC_API_KEY = process.env.PUBLIC_API_KEY ?? "d1e2083a-660c-4314-a6f2-1d42f4b944f4";

export const CACHE_TTL_SECONDS = Number(process.env.CACHE_TTL) || 60;
export const CACHE_LATEST_TTL_SECONDS = Number(process.env.CACHE_LATEST_TTL) || 2;
export const CACHE_LATEST_TTL_SECONDS = Number(process.env.CACHE_LATEST_TTL) || 10;
export const REDIS_HOST = process.env.REDIS_HOST ?? "redis-master";
export const REDIS_PORT = Number(process.env.REDIS_PORT) || 6379;

Expand Down

0 comments on commit 9223ef6

Please sign in to comment.