dropped throttle for full pdf download to 30 over 5 mins
1 download every 10 seconds which seems ample
This commit is contained in:
@@ -138,7 +138,7 @@ describe "CompileController", ->
|
||||
@req.query = {}
|
||||
@RateLimiter.addCount.callsArgWith(1, null, true)
|
||||
@CompileController.proxyToClsi = (project_id, url)=>
|
||||
@RateLimiter.addCount.args[0][0].throttle.should.equal 50
|
||||
@RateLimiter.addCount.args[0][0].throttle.should.equal 30
|
||||
done()
|
||||
@CompileController.downloadPdf @req, @res
|
||||
|
||||
@@ -147,7 +147,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 50
|
||||
@RateLimiter.addCount.args[0][0].throttle.should.equal 30
|
||||
done()
|
||||
@CompileController.downloadPdf @req, @res
|
||||
|
||||
|
||||
Reference in New Issue
Block a user