mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 13:57:02 +08:00
fix(server): limit max batch pulled doc updates (#10578)
This commit is contained in:
@@ -92,6 +92,7 @@ export class DocModel extends BaseModel {
|
||||
orderBy: {
|
||||
createdAt: 'asc',
|
||||
},
|
||||
take: 100,
|
||||
});
|
||||
return rows.map(r => this.updateToDocRecord(r));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user