mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修复日志加载状态
This commit is contained in:
1 parent
c9c4043a4e
commit
1b5f4a0f9d
3 files changed
+3
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user