• Stan Hu's avatar
    Optimize maximum user access level lookup in loading of notes · d1ea2bca
    Stan Hu authored
    NotesHelper#note_editable? and ProjectTeam#human_max_access currently
    take about 16% of the load time of an issue page. This MR preloads
    the maximum access level of users for all notes in issues and merge
    requests with several queries instead of one per user and caches
    the result in RequestStore.
    d1ea2bca
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG 174 KB