summary refs log tree commit diff
path: root/docs/sphinx/synapse.persistence.tables.rst (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-15Use events_to_purge table rather than tokenErik Johnston1-15/+34
2018-05-10transaction_id, destination twiceDamir Manapov1-2/+0
2018-05-10Set Server header in SynapseRequestRichard van der Hoff23-27/+28
(instead of everywhere that writes a response. Or rather, the subset of places which write responses where we haven't forgotten it). This also means that we don't have to have the mysterious version_string attribute in anything with a request handler. Unfortunately it does mean that we have to pass the version string wherever we instantiate a SynapseSite, which has been c&ped 150 times, but that is code that ought to be cleaned up anyway really.
2018-05-10Catch failure to part user from roomDavid Baker1-7/+13
2018-05-10Many docstringsDavid Baker2-0/+36
2018-05-10Remove redundant request_handler decoratorRichard van der Hoff7-38/+42
This is needless complexity; we might as well use the wrapper directly. Also rename wrap_request_handler->wrap_json_request_handler.
2018-05-10Factor wrap_request_handler_with_logging out of wrap_request_handlerRichard van der Hoff1-54/+66
... so that it can be used on non-JSON endpoints
2018-05-10Remove include_metrics paramRichard van der Hoff1-17/+7
The metrics are now available via the request, so this is redundant and can go away at last.
2018-05-10Move outgoing_responses_counter handling to RequestMetricsRichard van der Hoff2-4/+2
it's much neater there.
2018-05-10Bump requests_counter in wrapped_request_handlerRichard van der Hoff1-4/+11
less magic
2018-05-10Move RequestMetrics handling into SynapseRequest.processing()Richard van der Hoff2-24/+64
It fits quite nicely here, and opens the path to getting rid of the "include_metrics" mess.
2018-05-10Make RequestMetrics take a raw time rather than a clockRichard van der Hoff2-6/+6
... which is going to make it easier to move around.
2018-05-10Oops, don't call function passed to run_in_backgroundDavid Baker1-1/+1
2018-05-10Move request_id management into SynapseRequestRichard van der Hoff2-15/+25
2018-05-09Move RequestsMetrics to its own fileRichard van der Hoff2-124/+151
This is useful in its own right, because server.py is full of stuff; but more importantly, I want to do some refactoring that will cause a circular reference as it is.
2018-05-09