4.8.14 test (#3164)

* perf: match base 64 image

* perf: register plugins
This commit is contained in:
Archer
2024-11-15 10:35:04 +08:00
committed by GitHub
parent f699061dea
commit 58745f8c35
9 changed files with 76 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
import { getSystemPluginCb, getSystemPlugins } from '@/service/core/app/plugin';
import { getSystemPluginCb } from '@/service/core/app/plugin';
import { initSystemConfig } from '.';
import { createDatasetTrainingMongoWatch } from '@/service/core/dataset/training/utils';
import { MongoSystemConfigs } from '@fastgpt/service/common/system/config/schema';
@@ -29,7 +29,7 @@ const refetchSystemPlugins = () => {
changeStream.on('change', async (change) => {
setTimeout(() => {
try {
getSystemPlugins(true);
getSystemPluginCb(true);
} catch (error) {}
}, 5000);
});