diff options
author | Erik Johnston <erik@matrix.org> | 2019-07-22 13:15:08 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-07-22 13:15:08 +0100 |
commit | 5ea773c50568088b30e15728b65480d0335fe14e (patch) | |
tree | fe446b85e05d4eee6fabce0a5f12988014f29e90 /changelog.d | |
parent | Demo uses deprecated cli option (#5725) (diff) | |
download | synapse-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 'changelog.d')
0 files changed, 0 insertions, 0 deletions