sonic: do not block operations

This commit is contained in:
undefined committed 2022-03-13 21:04:26 +08:00
1 parent 69e3ebb7fb
commit 15d26eec37
3 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ export async function run({ domainId }, report) {
await Promise.all(tasks).catch((e) => console.log(`${pdoc.domainId}/${pdoc.docId}`, e));
};
if (domainId) await iterateAllProblemInDomain(domainId, ['title', 'content'], cb);
else await iterateAllProblem(['title', 'content'], cb);
else await iterateAllProblem(['title', 'content', 'tag'], cb);
return true;
}