refactor(server): bull jobs (#2569)

* refactor(server): bull jobs

* chore: add comment

* chore: metadata test coverage

* fix typo

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2023-05-26 08:52:52 -04:00
committed by GitHub
parent 4cc6e3b966
commit 065fb166c2
17 changed files with 486 additions and 474 deletions
@@ -29,7 +29,7 @@ export class StorageTemplateService {
this.core = new StorageTemplateCore(configRepository, config, storageRepository);
}
async handleTemplateMigrationSingle(data: IAssetJob) {
async handleMigrationSingle(data: IAssetJob) {
const { asset } = data;
try {
@@ -49,7 +49,7 @@ export class StorageTemplateService {
}
}
async handleTemplateMigration() {
async handleMigration() {
try {
console.time('migrating-time');