fix: returns board cache-hit path referenced undefined CACHE_TTL_MS (500) #53
@ -420,7 +420,7 @@ async function loadReplicaRows({
|
||||
const basis = resolveCreatedAtBasis(createdAtBasis);
|
||||
const key = buildCacheKey(warehouse, basis);
|
||||
const cached = rowCache.get(key);
|
||||
if (!refresh && cached && cached.rows && Date.now() - cached.at < CACHE_TTL_MS) {
|
||||
if (!refresh && cached && cached.rows && Date.now() - cached.at < resolveCacheTtlMs()) {
|
||||
return cached.rows;
|
||||
}
|
||||
const running = inflightCache.get(key);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user