fix: add paging progress log
This commit is contained in:
parent
1d73e4f072
commit
8cb33dc906
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ export class TransitionItemsFromPrimaryToSecondaryDatabaseForUser implements Use
|
|||
}
|
||||
const initialPage = this.pagingProgress.get(userUuid.value) as number
|
||||
|
||||
this.logger.info(`[${userUuid.value}] Migrating from page ${initialPage}`)
|
||||
|
||||
const totalItemsCountForUser = await this.primaryItemRepository.countAll({ userUuid: userUuid.value })
|
||||
const totalPages = Math.ceil(totalItemsCountForUser / this.pageSize)
|
||||
const itemsToSkipInIntegrityCheck = []
|
||||
|
|
Loading…
Reference in a new issue