- Jan 03, 2022
-
-
Shay authored
* update Trove classifiers to remove py36 * stop building bionic * update dh-virtualenv * newsfragment * fix newsfragment * update version refs * another try at correct tag * Update changelog
-
- Dec 30, 2021
-
-
Patrick Cloke authored
To improve type hints throughout the code.
-
Dirk Klimpel authored
-
- Dec 29, 2021
-
-
reivilibre authored
Fix a type annotation in `test_account_data.py` and remove it from the Mypy exclusion list. (#11657) Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Dirk Klimpel authored
By using cast and making ignores more specific.
-
Patrick Cloke authored
Both of those APIs return state events, which will not have bundled aggregations added anyway.
-
Dirk Klimpel authored
-
- Dec 24, 2021
-
-
Shay authored
* update black version * run updated version of black on code * newsfragment * enumerate python versions
-
- Dec 23, 2021
-
-
Patrick Cloke authored
-
AndrewFerr authored
Signed-off-by:
Andrew Ferrazzutti <fair@miscworks.net>
-
- Dec 21, 2021
-
-
Shay authored
* remove python 3.6 and postgres 9.6 from github workflow * remove python 3.6 env from tox * newsfragment * correct postgres version * add py310 to tox env list
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
postgres 10 _+_
-
Richard van der Hoff authored
-
Richard van der Hoff authored
... to work around breakage on buster (https://github.com/Marco-Sulla/python-frozendict/issues/41)
-
reivilibre authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
* Wrap `auth.get_user_by_req` in an opentracing span give `get_user_by_req` its own opentracing span, since it can result in a non-trivial number of sub-spans which it is useful to group together. This requires a bit of reorganisation because it also sets some tags (and may force tracing) on the servlet span. * Emit opentracing span for encoding json responses This can be a significant time sink. * Rename all sync spans with a prefix * Write an opentracing span for encoding sync response * opentracing span to group generate_room_entries * opentracing spans within sync.encode_response * changelog * Use the `trace` decorator instead of context managers
-
Richard van der Hoff authored
-
- Dec 20, 2021
-
-
Patrick Cloke authored
And make bundling aggregations opt-in, instead of opt-out to avoid having APIs to include extraneous data (and being much heavier than necessary).
-
Richard van der Hoff authored
This adds some opentracing annotations to ResponseCache, to make it easier to see what's going on; in particular, it adds a link back to the initial trace which is actually doing the work of generating the response.
-
Richard van der Hoff authored
* remove `start_active_span_from_request` Instead, pull out a separate function, `span_context_from_request`, to extract the parent span, which we can then pass into `start_active_span` as normal. This seems to be clearer all round. * Remove redundant tags from `incoming-federation-request` These are all wrapped up inside a parent span generated in AsyncResource, so there's no point duplicating all the tags that are set there. * Leave request spans open until the request completes It may take some time for the response to be encoded into JSON, and that JSON to be streamed back to the client, and really we want that inside the top-level span, so let's hand responsibility for closure to the SynapseRequest. * opentracing logs for HTTP request events * changelog
-
Richard van der Hoff authored
-
Richard van der Hoff authored
* Disable aggregation bundling on `/sync` responses A partial revert of #11478. This turns out to have had a significant CPU impact on initial-sync handling. For now, let's disable it, until we find a more efficient way of achieving this. * Fix tests. Co-authored-by:
Patrick Cloke <patrickc@matrix.org>
-
Patrick Cloke authored
Instead of returning 404 errors with HTML bodies when an unknown prefix was requested (e.g. /matrix/client/v1 before Synapse v1.49.0).
-
V02460 authored
Instead of the backported version.
-
Shay authored
-
- Dec 16, 2021
-
-
Dirk Klimpel authored
-
Dirk Klimpel authored
-
Eric Eastwood authored
As suggested in https://github.com/matrix-org/matrix-react-sdk/pull/7372#discussion_r769523369
-
- Dec 15, 2021
-
-
Sean Quah authored
-
Patrick Cloke authored
Instead of Iterable since the generators are not allowed due to the potential for their re-use.
-
Patrick Cloke authored
-
reivilibre authored
Add experimental support for MSC3202: allowing application services to masquerade as specific devices. (#11538)
-
- Dec 14, 2021