修复日志加载状态

This commit is contained in:
whyour committed 2022-01-24 22:50:01 +08:00
1 parent c9c4043a4e
commit 1b5f4a0f9d
3 files changed
+3 -2

No files matched your search

+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);