🏗️ Massive refactoring around uncompression and resizing methods

This commit is contained in:
2022-12-08 11:15:10 -08:00
parent 5f3c93da73
commit 9a41f34099
6 changed files with 282 additions and 246 deletions

View File

@@ -98,10 +98,10 @@ export default class ImportService extends Service {
handler: async (
ctx: Context<{ filePath: string; options: any }>
) => {
return await uncompressEntireArchive(
ctx.params.filePath,
ctx.params.options
);
await broker.call("importqueue.uncompressResize", {
filePath: ctx.params.filePath,
options: ctx.params.options,
});
},
},
newImport: {