Skip to content

Commit

Permalink
Change comment proxy cache TTL to 1 minute (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogermparent authored May 6, 2020
1 parent 0f28c52 commit 3aadb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/middleware/api/comments.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { isProduction } = require('../../utils')

const { FORUM_URL } = require('../../../../src/consts')

const cache = new NodeCache({ stdTTL: 900 })
const cache = new NodeCache({ stdTTL: 60 })

const getCommentCount = async (req, res) => {
const {
Expand Down

0 comments on commit 3aadb3c

Please sign in to comment.