diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-25 10:28:36 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-25 10:28:36 +0100 |
commit | f666d6f5d71b34762afc6c3d987496633ff2182c (patch) | |
tree | 2428ddd175813a9054b9243cec806eea85fceb8e /scripts | |
parent | Merge pull request #6248 from matrix-org/erikj/move_schema_files (diff) | |
download | synapse-f666d6f5d71b34762afc6c3d987496633ff2182c.tar.xz |
Remove repeated calls to config.stats_enabled.
Turns out that fetching variables from the config object is expensive, so doing it once at startup avoids unnecessary work.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions