Remove extraneous logging

This commit is contained in:
James Allen 2014-03-21 13:15:42 +00:00
parent c0be3ef37b
commit 375427bf5e

View file

@ -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