This commit is contained in:
karl.hudgell 2020-06-23 15:24:53 +01:00
commit 49056b195c

2
app.js
View File

@ -75,7 +75,7 @@ bot.on('message', (msg) => {
'x-rapidapi-key': process.env.RAPIDAPI_API_KEY, 'x-rapidapi-key': process.env.RAPIDAPI_API_KEY,
useQueryString: true useQueryString: true
}, },
ttl: 72000 //3 seconds ttl: 18000 //5 hours
}; };
cachedRequest(options, function (error, response, body) { cachedRequest(options, function (error, response, body) {