fix(server): limit max batch pulled doc updates (#10578)

This commit is contained in:
liuyi
2025-03-03 17:19:17 +08:00
committed by GitHub
parent 5d3c365d97
commit abad289783

View File

@@ -92,6 +92,7 @@ export class DocModel extends BaseModel {
orderBy: {
createdAt: 'asc',
},
take: 100,
});
return rows.map(r => this.updateToDocRecord(r));
}