Add logging on currentWorkspaceMember query (#6706)
We are experiencing slow GetCurrentUser endpoint, this is helping us troubleshoot
This commit is contained in:
@ -26,6 +26,7 @@ export class WorkspaceEntityManager extends EntityManager {
|
||||
target: EntityTarget<Entity>,
|
||||
): WorkspaceRepository<Entity> {
|
||||
// find already created repository instance and return it if found
|
||||
|
||||
const repoFromMap = this.repositories.get(target);
|
||||
|
||||
if (repoFromMap) {
|
||||
|
||||
Reference in New Issue
Block a user