mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Display progress
This commit is contained in:
parent
dab9231fd8
commit
307f0389ac
@ -49,6 +49,7 @@ async function main() {
|
||||
|
||||
const iterate = async () => {
|
||||
if (i == count) return true;
|
||||
console.log(`${i} / ${count}`);
|
||||
const doc = (await db.get('drive_files').find({}, { limit: 1, skip: i }))[0]
|
||||
const res = await migrateToGridFS(doc);
|
||||
if (!res) {
|
||||
|
Loading…
Reference in New Issue
Block a user