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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user