Mercurial > p > roundup > code
annotate roundup/dist/command/install_lib.py @ 6747:d32d43e4a5ba
wsgi can cache tracker instance enabled by feature flag.
Patch by Marcus Priesch caches a loaded tracker instance and reuse it
for future client sessions.
It is enabled by a feature flag in wsgi.py since it arrived during the
2.2.0 beta period.
The provided wsgi.py is modified to enable it. Testing is run with
flag enabled and disabled.
Ralf Schlatterbeck and Marcus tested it on one of their larger more
complex trackers and it sped up the response time to a client request
by a factor of 3 (270ms down to about 80-85ms).
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 02 Jul 2022 14:04:00 -0400 |
| parents | 42bf0a707763 |
| children |
| rev | line source |
|---|---|
| 4516 | 1 from roundup.dist.command.build import build_message_files, check_manifest |
|
6647
42bf0a707763
issue2551183 - Replace references to distutils in roundup/dist/command
John Rouillard <rouilj@ieee.org>
parents:
4516
diff
changeset
|
2 from setuptools.command.install_lib import install_lib as base |
| 4516 | 3 |
| 4 class install_lib(base): | |
| 5 | |
| 6 def run(self): | |
| 7 check_manifest() | |
| 8 build_message_files(self) | |
| 9 base.run(self) |
