perf: backup import (#4866)

* i18n

* remove invalid code

* perf: backup import

* backup tip

* fix: indexsize invalid
This commit is contained in:
Archer
2025-05-22 15:53:51 +08:00
committed by GitHub
parent dd3c251603
commit 88bd3aaa9e
67 changed files with 751 additions and 388 deletions

View File

@@ -23,9 +23,11 @@ const reloadConfigWatch = () => {
changeStream.on('change', async (change) => {
try {
if (
change.operationType === 'update' ||
(change.operationType === 'insert' &&
change.fullDocument.type === SystemConfigsTypeEnum.fastgptPro) ||
change.operationType === 'update'
[SystemConfigsTypeEnum.fastgptPro, SystemConfigsTypeEnum.license].includes(
change.fullDocument.type
))
) {
await initSystemConfig();
console.log('refresh system config');