forked-synapse/synapse/util
Erik Johnston 5ea773c505 Cache get_version_string.
The version of a module isn't going to change over the lifetime of the
process (assuming no funky hot reloading is going on, which it isn't),
so let's just cache the result to avoid spawning lots of git
subprocesses.

Fixes #5672.
2019-07-22 13:15:08 +01:00
..
caches Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
__init__.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
async_helpers.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
distributor.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
file_consumer.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
frozenutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
httpresourcetree.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
jsonobject.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
logcontext.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
logformatter.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
manhole.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
metrics.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
module_loader.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
msisdn.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
ratelimitutils.py Fixes to the federation rate limiter (#5621) 2019-07-05 11:10:19 +01:00
retryutils.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
rlimit.py run isort 2018-07-09 16:09:20 +10:00
stringutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
threepids.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
versionstring.py Cache get_version_string. 2019-07-22 13:15:08 +01:00
wheel_timer.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00