Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(server): wrong doc manager config (#7239)

forehalod21660619393
diff --git a/packages/backend/server/src/core/doc/config.ts b/packages/backend/server/src/core/doc/config.ts
index a0dcc7ae29..64c9a58dfe 100644
--- a/packages/backend/server/src/core/doc/config.ts
+++ b/packages/backend/server/src/core/doc/config.ts
@@ -55,11 +55,11 @@ declare module '../../fundamentals/config' {
defineStartupConfig('doc', {
manager: {
enableUpdateAutoMerging: true,
- updatePollInterval: 1000,
- maxUpdatesPullCount: 100,
+ updatePollInterval: 3000,
+ maxUpdatesPullCount: 500,
},
history: {
- interval: 1000,
+ interval: 1000 * 60 * 10 /* 10 mins */,
},
});