mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
[history-v1] extend --report with number of files to check/missing (#27397)
* [history-v1] put logs of back_fill_file_hash script in /var/log/overleaf * [history-v1] do not leave tmp dir behind when using --report * [history-v1] extend --report with number of files to check/missing * [history-v1] move all the options into command line flags Change default values: - concurrency to 10 - concurrent batches to 1 - stream high water mark to 1MiB * [web] find_malformed_filetrees: log progress on stderr * [history-v1] fix percentage of projects that need back-filling GitOrigin-RevId: ebd7889840f97b24eda43774ffe7524998fb634b
This commit is contained in:
@@ -49,7 +49,7 @@ async function main(trackProgress) {
|
||||
for (const project of projects) {
|
||||
projectsProcessed += 1
|
||||
if (projectsProcessed % 100000 === 0) {
|
||||
console.log(projectsProcessed, 'projects processed')
|
||||
console.warn(projectsProcessed, 'projects processed')
|
||||
}
|
||||
const projectId = project._id.toString()
|
||||
for (const { reason, path, _id } of processProject(project)) {
|
||||
|
||||
Reference in New Issue
Block a user