fix(server): apply env overrides after all config merged (#5795)

This commit is contained in:
liuyi
2024-02-04 06:38:31 +00:00
parent 899528dcfd
commit d9c2dc8dfb
7 changed files with 19 additions and 9 deletions

View File

@@ -382,7 +382,7 @@ export class DocManager implements OnModuleInit, OnModuleDestroy {
// take it ease, we don't want to overload db and or cpu
// if we limit the taken number here,
// user will never see the latest doc if there are too many updates pending to be merged.
take: 100,
take: this.config.doc.manager.maxUpdatesPullCount,
});
// perf(memory): avoid sorting in db