mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
remove debug logs
This commit is contained in:
parent
5ea7a31ad9
commit
10932eb4a9
2 changed files with 0 additions and 3 deletions
|
@ -104,10 +104,8 @@ describe "Archiving updates", ->
|
|||
it "should store 1024 doc changes in S3 in one pack", (done) ->
|
||||
db.docHistoryIndex.findOne { _id: ObjectId(@doc_id) }, (error, index) =>
|
||||
throw error if error?
|
||||
console.log "index", index, JSON.stringify(index)
|
||||
pack_id = index.packs[0]._id
|
||||
TrackChangesClient.getS3Doc @project_id, @doc_id, pack_id, (error, doc) =>
|
||||
console.log error, "DOC", doc
|
||||
doc.n.should.equal 1024
|
||||
doc.pack.length.should.equal 1024
|
||||
done()
|
||||
|
|
|
@ -105,7 +105,6 @@ module.exports = TrackChangesClient =
|
|||
options = TrackChangesClient.buildS3Options(true, project_id+"/changes-"+doc_id+"/pack-"+pack_id)
|
||||
options.encoding = null
|
||||
request.get options, (err, res, body) ->
|
||||
console.log "body", typeof body
|
||||
return callback(error) if error?
|
||||
zlib.gunzip body, (err, result) ->
|
||||
return callback(err) if err?
|
||||
|
|
Loading…
Reference in a new issue