Skip to content

Commit

Permalink
fix: plugin update (#1076)
Browse files Browse the repository at this point in the history
fix: ts

perf: max w

perf: inform tip

fix: inform

remove deploy doc

remove volumn
  • Loading branch information
c121914yu authored Mar 27, 2024
1 parent 9e193b1 commit 1829b22
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions projects/app/src/service/mongo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -34,9 +32,6 @@ export function connectToDatabase(): Promise<void> {

// start queue
startTrainingQueue(true);

// clear tmp files
clearDirFiles(tmpFileDirPath);
}
});
}
Expand Down

0 comments on commit 1829b22

Please sign in to comment.