Skip to content

Commit

Permalink
log cached results
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaridas committed Feb 1, 2024
1 parent 53c7e8a commit 7edfe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ addon.get('/stream/:type/:id.json', async (req, res) => {
if (config.cacheResultsTime && config.cacheResultsTime != 0) {
const cached = getCacheVariable(req.params.id);
if (cached) {
config.debug && console.log("Found cached results for " + req.params.id);
console.log("C: Serving cached results for id " + req.params.id + " type " + req.params.type);
return respond(res, {
streams: cached,
"cacheMaxAge": 7200,
Expand Down

0 comments on commit 7edfe68

Please sign in to comment.