mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 02:45:10 +02:00
🔨
This commit is contained in:
parent
56c3325b5c
commit
8c804e7de7
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user