Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/Service/UserMigrationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public function estimateExportSize(IUser $user, ?array $filteredMigratorList = n
}
$cacheKey = $user->getUID() . '::' . $migrator->getId();
if ($this->internalCache->hasKey($cacheKey)) {
/** @var int|float $size */
$size += $this->internalCache->get($cacheKey);
continue;
}
Expand All @@ -134,6 +135,7 @@ public function estimateExportSize(IUser $user, ?array $filteredMigratorList = n
throw new UserMigrationException('Could not estimate export size for ' . $migrator->getDisplayName(), 0, $e);
}
$this->internalCache->set($cacheKey, $migratorSize);
/** @var int|float $size */
$size += $migratorSize;
}
}
Expand Down