Skip to content

Commit

Permalink
Merge pull request #49 from Murakano/feature/limit
Browse files Browse the repository at this point in the history
♻️ qa때문에 limit 1000번으로 변경
  • Loading branch information
jjikky authored Jul 10, 2024
2 parents 386d0aa + d0940c7 commit 236a546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/rateLimit.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports.postApiLimiter = rateLimit({

exports.commonLimiter = rateLimit({
windowMs: 60 * 1000, // 1분 간격
max: 50, // windowMs동안 최대 호출 횟수
max: 1000, // windowMs동안 최대 호출 횟수
handler(req, res) {
// 제한 초과 시 콜백 함수
res.status(this.statusCode).json({
Expand Down

0 comments on commit 236a546

Please sign in to comment.