diff --git a/services/web/app/coffee/Features/Compile/CompileController.coffee b/services/web/app/coffee/Features/Compile/CompileController.coffee index 77c96d0f3e..6bc2085ba6 100755 --- a/services/web/app/coffee/Features/Compile/CompileController.coffee +++ b/services/web/app/coffee/Features/Compile/CompileController.coffee @@ -50,7 +50,7 @@ module.exports = CompileController = else rateLimitOpts = endpointName: "full-pdf-download" - throttle: 30 + throttle: 50 subjectName : req.ip timeInterval : 60 * 5 RateLimiter.addCount rateLimitOpts, callback diff --git a/services/web/test/UnitTests/coffee/Compile/CompileControllerTests.coffee b/services/web/test/UnitTests/coffee/Compile/CompileControllerTests.coffee index f1a31fcef9..27cf7f1fff 100644 --- a/services/web/test/UnitTests/coffee/Compile/CompileControllerTests.coffee +++ b/services/web/test/UnitTests/coffee/Compile/CompileControllerTests.coffee @@ -135,7 +135,7 @@ describe "CompileController", -> @req.query = {} @RateLimiter.addCount.callsArgWith(1, null, true) @CompileController.proxyToClsi = (project_id, url)=> - @RateLimiter.addCount.args[0][0].throttle.should.equal 30 + @RateLimiter.addCount.args[0][0].throttle.should.equal 50 done() @CompileController.downloadPdf @req, @res @@ -144,7 +144,7 @@ describe "CompileController", -> @req.query = {pdfng:false} @RateLimiter.addCount.callsArgWith(1, null, true) @CompileController.proxyToClsi = (project_id, url)=> - @RateLimiter.addCount.args[0][0].throttle.should.equal 30 + @RateLimiter.addCount.args[0][0].throttle.should.equal 50 done() @CompileController.downloadPdf @req, @res