Increase cache time

This commit is contained in:
Pieter Vander Vennet 2024-02-26 13:33:21 +01:00
parent db92a600d5
commit c53fc33339

View file

@ -162,7 +162,7 @@ class CachedSqlCount {
const connectionString = "postgresql://user:password@localhost:5444/osm-poi"
const tcs = new OsmPoiDatabase(connectionString)
const withCache = new CachedSqlCount(tcs, 60 * 60 * 24)
const withCache = new CachedSqlCount(tcs, 14 * 60 * 60 * 24)
new Server(2345, { ignorePathPrefix: ["summary"] }, [
{
mustMatch: "status.json",