diff --git a/services/web/app/coffee/Features/Compile/CompileManager.coffee b/services/web/app/coffee/Features/Compile/CompileManager.coffee index 0089eb7b34..6e7056813d 100755 --- a/services/web/app/coffee/Features/Compile/CompileManager.coffee +++ b/services/web/app/coffee/Features/Compile/CompileManager.coffee @@ -71,9 +71,9 @@ module.exports = CompileManager = return callback(null, true) opts = endpointName:"auto_compile" - timeInterval:15 + timeInterval:20 subjectName:"everyone" - throttle: 15 + throttle: 25 rateLimiter.addCount opts, (err, canCompile)-> if err? canCompile = false diff --git a/services/web/test/UnitTests/coffee/Compile/CompileManagerTests.coffee b/services/web/test/UnitTests/coffee/Compile/CompileManagerTests.coffee index fbcf6787cf..9f4031e776 100644 --- a/services/web/test/UnitTests/coffee/Compile/CompileManagerTests.coffee +++ b/services/web/test/UnitTests/coffee/Compile/CompileManagerTests.coffee @@ -241,9 +241,9 @@ describe "CompileManager", -> @ratelimiter.addCount.callsArgWith(1, null, true) @CompileManager._checkIfAutoCompileLimitHasBeenHit true, (err, canCompile)=> args = @ratelimiter.addCount.args[0][0] - args.throttle.should.equal 15 + args.throttle.should.equal 25 args.subjectName.should.equal "everyone" - args.timeInterval.should.equal 15 + args.timeInterval.should.equal 20 args.endpointName.should.equal "auto_compile" canCompile.should.equal true done()