mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +03:00
Remove extra logging in migrations (#5380)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
0b3cd8162c
commit
577c948d29
@ -57,10 +57,8 @@ async function migrateMarkup (client: MigrationClient): Promise<void> {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
console.log('processing', activity.class.DocUpdateMessage)
|
|
||||||
try {
|
try {
|
||||||
await processMigrateMarkupFor(client, iterator)
|
await processMigrateMarkupFor(client, iterator)
|
||||||
console.log('processing finished', activity.class.DocUpdateMessage)
|
|
||||||
} finally {
|
} finally {
|
||||||
await iterator.close()
|
await iterator.close()
|
||||||
}
|
}
|
||||||
|
@ -41,11 +41,9 @@ async function migrateMarkup (client: MigrationClient): Promise<void> {
|
|||||||
})
|
})
|
||||||
if (filtered.length === 0) continue
|
if (filtered.length === 0) continue
|
||||||
|
|
||||||
console.log('processing', _class, filtered.length, 'attributes')
|
|
||||||
const iterator = await client.traverse(domain, { _class })
|
const iterator = await client.traverse(domain, { _class })
|
||||||
try {
|
try {
|
||||||
await processMigrateMarkupFor(domain, filtered, client, iterator)
|
await processMigrateMarkupFor(domain, filtered, client, iterator)
|
||||||
console.log('processing finished', _class)
|
|
||||||
} finally {
|
} finally {
|
||||||
await iterator.close()
|
await iterator.close()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user