core: ensure all items set

This commit is contained in:
undefined committed 2021-09-21 14:08:29 +08:00
1 parent 1ddde7d090
commit fc7aa51571
3 files changed
+5 -1

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
import { inspect } from 'util';
import * as yaml from 'js-yaml';
import { sleep } from '@hydrooj/utils/lib/utils';
import * as check from '../check';
import { ValidationError } from '../error';
import {
@@ -178,6 +179,7 @@ class SystemSettingHandler extends SystemHandler {
}
tasks.push(bus.parallel('system/setting', args));
await Promise.all(tasks);
await sleep(100);
this.back();
}
}