-function deleteResumableUploadMetaFile (filepath: string) {
- return remove(filepath + METAFILE_EXTNAME)
+function scheduleDeleteResumableUploadMetaFile (filepath: string) {
+ const payload = { filepath }
+ JobQueue.Instance.createJob({ type: 'delete-resumable-upload-meta-file', payload }, { delay: 900 * 1000 }) // executed in 15 min