mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 01:45:29 -05:00
Merge pull request #2930 from overleaf/bg-downgrade-recently-compiled-warning
remove unnecessary recently-compiled warning GitOrigin-RevId: ee9feaf932e741d40741568f63fcf65ac42fb27d
This commit is contained in:
parent
8c4e4bab3f
commit
beb452e4e0
1 changed files with 0 additions and 5 deletions
|
@ -22,7 +22,6 @@ const ProjectRootDocManager = require('../Project/ProjectRootDocManager')
|
||||||
const UserGetter = require('../User/UserGetter')
|
const UserGetter = require('../User/UserGetter')
|
||||||
const ClsiManager = require('./ClsiManager')
|
const ClsiManager = require('./ClsiManager')
|
||||||
const Metrics = require('metrics-sharelatex')
|
const Metrics = require('metrics-sharelatex')
|
||||||
const logger = require('logger-sharelatex')
|
|
||||||
const rateLimiter = require('../../infrastructure/RateLimiter')
|
const rateLimiter = require('../../infrastructure/RateLimiter')
|
||||||
|
|
||||||
module.exports = CompileManager = {
|
module.exports = CompileManager = {
|
||||||
|
@ -47,10 +46,6 @@ module.exports = CompileManager = {
|
||||||
return callback(error)
|
return callback(error)
|
||||||
}
|
}
|
||||||
if (recentlyCompiled) {
|
if (recentlyCompiled) {
|
||||||
logger.warn(
|
|
||||||
{ project_id, user_id },
|
|
||||||
'project was recently compiled so not continuing'
|
|
||||||
)
|
|
||||||
return callback(null, 'too-recently-compiled', [])
|
return callback(null, 'too-recently-compiled', [])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue