mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
chore(server): debug blob sizes limit (#4181)
This commit is contained in:
@@ -669,6 +669,11 @@ export class WorkspaceResolver {
|
||||
});
|
||||
|
||||
if (size + buffer.length > quota) {
|
||||
this.logger.log(
|
||||
`storage size limit exceeded after blob set: ${size} > ${
|
||||
buffer.length > quota
|
||||
}`
|
||||
);
|
||||
throw new ForbiddenException('storage size limit exceeded');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user