annotate docs/changelog.rst @ 5770:82f818616265

db: cache SCM instance short-term (tied to SQLAlchemy session lifetime) Repeatedly checking whether SCM instances are invalidated is slow, and we don't actually _want_ SCM instances to invalidate half-way through a request either. Therefore cache them in on the db.Repository object, the lifetime of which is directly tied to the lifetime of the SQLAlchemy session, the lifetime of which is tied directly to the individual HTTP request. This way, we only check for invalidation the first time the SCM instance is accessed in a request. This will improve performance in cases where we have (by definition) badly written code that retrieves repo objects several times.
author Søren Løvborg <sorenl@unity3d.com>
date Tue, 08 Mar 2016 12:28:06 +0100
parents fbbe80e3322b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
585
42a87338035a Version bump.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 .. _changelog:
42a87338035a Version bump.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2
2095
Marcin Kuzminski <marcin@python-works.com>
parents: 2093
diff changeset
3 =========
585
42a87338035a Version bump.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 Changelog
42a87338035a Version bump.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
5 =========
42a87338035a Version bump.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6
5425
5ae8e644aa88 docs: spelling, grammar, content and typography
Søren Løvborg <sorenl@unity3d.com>
parents: 4177
diff changeset
7 Kallithea project doesn't keep its changelog here. We refer you to our `Mercurial logs`__.
2041
d533249e7d55 docs updates for release
Marcin Kuzminski <marcin@python-works.com>
parents: 2020
diff changeset
8
5433
fbbe80e3322b docs: consistent spacing around headings
Mads Kiilerich <madski@unity3d.com>
parents: 5425
diff changeset
9
5425
5ae8e644aa88 docs: spelling, grammar, content and typography
Søren Løvborg <sorenl@unity3d.com>
parents: 4177
diff changeset
10 .. __: https://kallithea-scm.org/repos/kallithea/changelog