mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
修复日志加载状态
This commit is contained in:
@@ -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