Files @ ad374c171656
Branch filter:

Location: kallithea/docs/changelog.rst

ad374c171656 200 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Mads Kiilerich
comments: introduce lazy join of ChangesetStatus on ChangesetComment

99% of all uses of ChangesetComment will also need the optional corresponding
ChangesetStatus (if any) on the status_change relationship. Fetching it on
demand gives a lot of roundtrips and might be slow ... but adding explicit bulk
queries everywhere do not seem feasible. Adding lazy=joined in the data model
seems like the best solution.

Loading a pull request with 10 comments on a slow repo goes from 3.5 s to
2.7 s.
1
2
3
4
5
6
7
8
9
.. _changelog:

=========
Changelog
=========

Kallithea project doesn't keep its changelog here.  We refer you to our Mercurial logs_ .

.. _logs: https://kallithea-scm.org/repos/kallithea/changelog