mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-24 17:51:51 +02:00
Merge pull request #12375 from overleaf/jpa-fix-size
[docstore] initialize size with 0 GitOrigin-RevId: 9716cecb2ea87bb3596b3cdb64e9bd9f61dc86db
This commit is contained in:
@@ -172,7 +172,7 @@ async function destroyProject(projectId) {
|
||||
|
||||
async function _streamToBuffer(projectId, docId, stream) {
|
||||
const chunks = []
|
||||
let size
|
||||
let size = 0
|
||||
let logged = false
|
||||
const logIfTooLarge = finishedReading => {
|
||||
if (size <= Settings.max_doc_length) return
|
||||
|
||||
Reference in New Issue
Block a user