Skip to content

Commit 91f833d

Browse files
committed
fix: ideal max entry
1 parent 4186f73 commit 91f833d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/arweave.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { makeRequestToArweaveNetwork } from "./helpers";
77

88
// Simple in-memory cache with expiration and size limit
99
type CacheEntry<T> = { value: T; expiresAt: number };
10-
const CACHE_MAX_ENTRIES = 201;
10+
const CACHE_MAX_ENTRIES = 120;
1111
const cache = new Map<string, CacheEntry<any>>();
1212

1313
function setCache<T>(key: string, value: T, ttlMs: number) {

0 commit comments

Comments
 (0)