• Jan Provaznik's avatar
    Use batch loader for loading epic issues · 8ee43d06
    Jan Provaznik authored
    Avoids N+1 query issues when loading many epics including their epics.
    Batch loader is used for loading these items, downside is that we
    load all issues for each epic into memory - given the use-case this
    should be acceptable (number of issues per epic is relatively small).
    To avoid extra queries/checks, we authorize only issues being rendered
    instead of the whole array - downside is that less-than-limit number of
    items may be returned then.
    8ee43d06
Name
Last commit
Last update
..
authorize Loading commit data...
calls_gitaly Loading commit data...
connections Loading commit data...
docs Loading commit data...
loaders Loading commit data...
markdown_field Loading commit data...
present Loading commit data...
query_analyzers Loading commit data...
representation Loading commit data...
authorize.rb Loading commit data...
calls_gitaly.rb Loading commit data...
connections.rb Loading commit data...
copy_field_description.rb Loading commit data...
errors.rb Loading commit data...
expose_permissions.rb Loading commit data...
filterable_array.rb Loading commit data...
find_argument_in_parent.rb Loading commit data...
generic_tracing.rb Loading commit data...
markdown_field.rb Loading commit data...
mount_mutation.rb Loading commit data...
present.rb Loading commit data...
variables.rb Loading commit data...