mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Make repairPad.js more verbose (#6117)
This commit is contained in:
parent
1b0660eaf5
commit
06bfbdec18
1 changed files with 2 additions and 0 deletions
|
@ -43,7 +43,9 @@ let valueCount = 0;
|
|||
neededDBValues.push(`pad:${padId}:chat:${chat}`);
|
||||
}
|
||||
// now fetch and reinsert every key
|
||||
console.log('Fetch and reinsert every key');
|
||||
for (const key of neededDBValues) {
|
||||
if (valueCount % 100 === 0) console.log(valueCount + "/" + neededDBValues.length);
|
||||
const value = await db.get(key);
|
||||
// if it isn't a globalAuthor value which we want to ignore..
|
||||
// console.log(`Key: ${key}, value: ${JSON.stringify(value)}`);
|
||||
|
|
Loading…
Reference in a new issue