Skip to content

N+1 Query in user.member_request_edit #751

Description

@agdsn-sentry

This causes 41(!!) lazy fetches on every request, adding up to ~120ms.

Sentry Issue: PYCROFT-9D

Offending Spans db - SELECT building.site_id AS building_site_i...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔨 libThings relating to the core logic / functionality🔨 web/uiThings relating to Flask routes and Jinja templatesenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions