summary refs log tree commit diff
path: root/synapse/util/metrics.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-01-17 16:43:03 +0000
committerErik Johnston <erik@matrix.org>2018-01-17 16:43:03 +0000
commitbc67e7d260631d3fa7bc78653376e15dc0771364 (patch)
tree0fc5d6713a86462bd6247ca899a6a4cc95672c62 /synapse/util/metrics.py
parentMerge pull request #2789 from matrix-org/erikj/fix_thumbnails (diff)
downloadsynapse-bc67e7d260631d3fa7bc78653376e15dc0771364.tar.xz
Add decent impl of a FileConsumer
Twisted core doesn't have a general purpose one, so we need to write one
ourselves.

Features:
- All writing happens in background thread
- Supports both push and pull producers
- Push producers get paused if the consumer falls behind
Diffstat (limited to 'synapse/util/metrics.py')
0 files changed, 0 insertions, 0 deletions