From c53fc3333921cbd9f58993016e218b99ddff0ad9 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 26 Feb 2024 13:33:21 +0100 Subject: [PATCH] Increase cache time --- scripts/osm2pgsql/tilecountServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/osm2pgsql/tilecountServer.ts b/scripts/osm2pgsql/tilecountServer.ts index 6f92f6e8e1..86aa8c4d73 100644 --- a/scripts/osm2pgsql/tilecountServer.ts +++ b/scripts/osm2pgsql/tilecountServer.ts @@ -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",