修复日志加载状态

This commit is contained in:
whyour
2022-01-24 22:50:01 +08:00
parent 54a597aad3
commit 29fc471ac4
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@ import { sequelize } from '../data';
export default async () => {
try {
await sequelize.sync({ alter: true });
await new Promise((resolve) => setTimeout(() => resolve(null), 5000));
const crondbExist = await fileExist(config.cronDbFile);
const dependenceDbExist = await fileExist(config.dependenceDbFile);