summary refs log tree commit diff
path: root/synapse/app/federation_sender.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-07-22 13:15:08 +0100
committerErik Johnston <erik@matrix.org>2019-07-22 13:15:08 +0100
commit5ea773c50568088b30e15728b65480d0335fe14e (patch)
treefe446b85e05d4eee6fabce0a5f12988014f29e90 /synapse/app/federation_sender.py
parentDemo uses deprecated cli option (#5725) (diff)
downloadsynapse-5ea773c50568088b30e15728b65480d0335fe14e.tar.xz
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.
Diffstat (limited to 'synapse/app/federation_sender.py')
0 files changed, 0 insertions, 0 deletions