mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
fix: plugin update (#1076)
fix: ts perf: max w perf: inform tip fix: inform remove deploy doc remove volumn
This commit is contained in:
@@ -11,8 +11,6 @@ import { mongoSessionRun } from '@fastgpt/service/common/mongo/sessionRun';
|
||||
import { initGlobal } from './common/system';
|
||||
import { startMongoWatch } from './common/system/volumnMongoWatch';
|
||||
import { startTrainingQueue } from './core/dataset/training/utils';
|
||||
import { clearDirFiles } from '@fastgpt/service/common/file/utils';
|
||||
import { tmpFileDirPath } from '@fastgpt/service/common/file/constants';
|
||||
|
||||
/**
|
||||
* connect MongoDB and init data
|
||||
@@ -34,9 +32,6 @@ export function connectToDatabase(): Promise<void> {
|
||||
|
||||
// start queue
|
||||
startTrainingQueue(true);
|
||||
|
||||
// clear tmp files
|
||||
clearDirFiles(tmpFileDirPath);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user