delay writing disk cache until block handler completes

This commit is contained in:
Mononaut
2023-05-01 14:30:30 -06:00
parent e807b3ca74
commit e5f97ace8b
3 changed files with 39 additions and 0 deletions

View File

@@ -205,6 +205,8 @@ class Server {
logger.debug(`AxiosError: ${e?.message}`);
}
setTimeout(this.runMainUpdateLoop.bind(this), 1000 * this.currentBackendRetryInterval);
} finally {
diskCache.unlock();
}
}