Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • B backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Notifications project
  • backend
  • Issues
  • #134

Closed
Open
Created Mar 04, 2022 by Carina Antunes@crdeolivOwner

Improve api performance - refactor hasAccess into query

  1. Fix Detected cases:
  • get channel notifications: current implementation is loading all groups and channels to calc hasAccess. Let’s look into moving the query to sql like the rest, it’s probably just the same as get all channels.
  • get channel has the same issue
  • get channel members and get groups also need to have the same logic to load only 10 objects into memory
  1. Investigate more cases using hasAccess and refactor
Edited Mar 04, 2022 by Carina Antunes
Assignee
Assign to
Time tracking