change catalog cache age to 1ms

This commit is contained in:
TheBeastLT
2022-10-22 15:48:19 +02:00
parent c986088f47
commit 8ef48b59ee

View File

@@ -51,7 +51,7 @@ builder.defineCatalogHandler((args) => {
return getMochCatalog(mochKey, args.extra)
.then(metas => ({
metas: metas,
cacheMaxAge: 0
cacheMaxAge: 1
}))
.catch(error => {
return Promise.reject(`Failed retrieving catalog ${args.id}: ${JSON.stringify(error)}`);