chore(server): debug blob sizes limit (#4178)

This commit is contained in:
LongYinan
2023-09-04 19:44:22 -07:00
committed by GitHub
parent ff66e2635a
commit 2da22e2fc2
2 changed files with 8 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import {
ForbiddenException,
Get,
Inject,
Logger,
NotFoundException,
Param,
Res,
@@ -20,6 +21,8 @@ import { PermissionService } from './permission';
@Controller('/api/workspaces')
export class WorkspacesController {
private readonly logger = new Logger('WorkspacesController');
constructor(
@Inject(StorageProvide) private readonly storage: Storage,
private readonly permission: PermissionService,
@@ -75,6 +78,6 @@ export class WorkspacesController {
res.setHeader('content-type', 'application/octet-stream');
res.send(update);
console.info('workspaces doc api: ', format(process.hrtime(start)));
this.logger.debug('workspaces doc api: ', format(process.hrtime(start)));
}
}