Merge pull request #2930 from overleaf/bg-downgrade-recently-compiled-warning

remove unnecessary recently-compiled warning

GitOrigin-RevId: ee9feaf932e741d40741568f63fcf65ac42fb27d
This commit is contained in:
Brian Gough 2020-06-19 09:22:45 +01:00 committed by Copybot
parent 8c4e4bab3f
commit beb452e4e0

View file

@ -22,7 +22,6 @@ const ProjectRootDocManager = require('../Project/ProjectRootDocManager')
const UserGetter = require('../User/UserGetter')
const ClsiManager = require('./ClsiManager')
const Metrics = require('metrics-sharelatex')
const logger = require('logger-sharelatex')
const rateLimiter = require('../../infrastructure/RateLimiter')
module.exports = CompileManager = {
@ -47,10 +46,6 @@ module.exports = CompileManager = {
return callback(error)
}
if (recentlyCompiled) {
logger.warn(
{ project_id, user_id },
'project was recently compiled so not continuing'
)
return callback(null, 'too-recently-compiled', [])
}