mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 02:23:41 -05:00
Remove extraneous logging
This commit is contained in:
parent
c0be3ef37b
commit
375427bf5e
1 changed files with 0 additions and 1 deletions
|
@ -23,7 +23,6 @@ module.exports = TrackChangesManager =
|
||||||
|
|
||||||
FLUSH_EVERY_N_OPS: 50
|
FLUSH_EVERY_N_OPS: 50
|
||||||
pushUncompressedHistoryOp: (project_id, doc_id, op, callback = (error) ->) ->
|
pushUncompressedHistoryOp: (project_id, doc_id, op, callback = (error) ->) ->
|
||||||
logger.log project_id: project_id, doc_id: doc_id, "pushing history op"
|
|
||||||
RedisManager.pushUncompressedHistoryOp project_id, doc_id, op, (error, length) ->
|
RedisManager.pushUncompressedHistoryOp project_id, doc_id, op, (error, length) ->
|
||||||
return callback(error) if error?
|
return callback(error) if error?
|
||||||
if length > 0 and length % TrackChangesManager.FLUSH_EVERY_N_OPS == 0
|
if length > 0 and length % TrackChangesManager.FLUSH_EVERY_N_OPS == 0
|
||||||
|
|
Loading…
Reference in a new issue