summary refs log tree commit diff
path: root/synapse/metrics/resource.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-02 18:25:53 +0100
committerErik Johnston <erik@matrix.org>2016-08-02 18:25:53 +0100
commitaecaec3e104fc8aebb4f2e3e9ce29bb7dee4dc0c (patch)
treed3454fd6fb36b1506c267e6e62081e7ad8c38332 /synapse/metrics/resource.py
parentMerge pull request #971 from matrix-org/erikj/fed_state (diff)
downloadsynapse-aecaec3e104fc8aebb4f2e3e9ce29bb7dee4dc0c.tar.xz
Change the way we summarize URLs
Using XPath is slow on some machines (for unknown reasons), so use a
different approach to get a list of text nodes.

Try to generate a summary that respect paragraph and then word
boundaries, adding ellipses when appropriate.
Diffstat (limited to 'synapse/metrics/resource.py')
0 files changed, 0 insertions, 0 deletions