mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
change catalog cache age to 1ms
This commit is contained in:
@@ -51,7 +51,7 @@ builder.defineCatalogHandler((args) => {
|
|||||||
return getMochCatalog(mochKey, args.extra)
|
return getMochCatalog(mochKey, args.extra)
|
||||||
.then(metas => ({
|
.then(metas => ({
|
||||||
metas: metas,
|
metas: metas,
|
||||||
cacheMaxAge: 0
|
cacheMaxAge: 1
|
||||||
}))
|
}))
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
return Promise.reject(`Failed retrieving catalog ${args.id}: ${JSON.stringify(error)}`);
|
return Promise.reject(`Failed retrieving catalog ${args.id}: ${JSON.stringify(error)}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user