This commit is contained in:
Marco van Dijk 2024-12-01 16:56:07 +01:00
parent 56c3325b5c
commit 8c804e7de7

View File

@ -122,10 +122,12 @@ async function processQueue() {
if (staleENSCache) { if (staleENSCache) {
console.log("Writing ENS cache to disk"); console.log("Writing ENS cache to disk");
await writeToStorage("ensDomainCache", ensDomainCache); await writeToStorage("ensDomainCache", ensDomainCache);
staleENSCache = false;
} }
if (staleOrchCache) { if (staleOrchCache) {
console.log("Writing Orchestrator cache to disk"); console.log("Writing Orchestrator cache to disk");
await writeToStorage("orchCache", orchCache); await writeToStorage("orchCache", orchCache);
staleOrchCache = false;
} }
await sleep(1000); await sleep(1000);
} }