mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 23:26:30 +08:00
fix(server): limit max batch pulled doc updates
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