diff --git a/app/controllers/link.js b/app/controllers/link.js index aead20d..c363e6b 100644 --- a/app/controllers/link.js +++ b/app/controllers/link.js @@ -71,11 +71,11 @@ class LinkController extends SiteController { /* * Do these jobs in parallel so the total work gets done faster */ - const jobs = [ - linkService.recordVisit(res.locals.link, req), - resourceService.recordView(req, 'Link', res.locals.link._id), - ]; - await Promise.all(jobs); // we don't care about any specific results + // const jobs = [ + // linkService.recordVisit(res.locals.link, req), + // resourceService.recordView(req, 'Link', res.locals.link._id), + // ]; + // await Promise.all(jobs); // we don't care about any specific results res.redirect(res.locals.link.href); // off you go! } catch (error) {