summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-07-20Remove unused code from synapse.logging.utils. (#7897)Karthikeyan Singaravelan2-126/+2
2020-07-20Fix a typo in the sample config. (#7890)Adrian3-2/+3
2020-07-20Fix deprecation warning: import ABC from collections.abc (#7892)Karthikeyan Singaravelan5-6/+7
2020-07-20Change sample config's postgres user to synapse_user (#7889)Andrew Morgan3-2/+3
The [postgres setup docs](https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#set-up-database) recommend setting up your database with user `synapse_user`. However, uncommenting the postgres defaults in the sample config leave you with user `synapse`. This PR switches the sample config to recommend `synapse_user`. Took a me a second to figure this out, so assume this will beneficial to others.
2020-07-20Fix deprecation warning due to invalid escape sequences (#7895)Karthikeyan Singaravelan2-4/+5
* Fix deprecation warnings due to invalid escape sequences. * Add changelog Signed-off-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
2020-07-17Remove Ubuntu Eoan that is now EOL (#7888)Gary Kim2-1/+1
2020-07-17Fix the trace function for async functions. (#7872)Patrick Cloke2-23/+41
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2020-07-17Add help for creating a user via docker (#7885)Michael Kaye2-0/+16
2020-07-17Switch to Debian:Slim from Alpine for the docker image (#7839)Christopher May-Townsend3-40/+30
As mentioned in #7397, switching to a debian base should help with multi-arch work to save time on compiling. This is unashamedly based on #6373, but without the extra functionality. Switch python version back to generic 3.7 to always pull the latest. Essentially, keeping this as small as possible. The image is bigger though unfortunately.
2020-07-17Stop using 'device_max_stream_id' (#7882)Erik Johnston4-5/+3
It serves no purpose and updating everytime we write to the device inbox stream means all such transactions will conflict, causing lots of transaction failures and retries.
2020-07-17Fix TypeError in synapse.notifier (#7880)Erik Johnston2-0/+9
Fixes #7774
2020-07-17Add a default limit (of 100) to get/sync operations. (#7858)Patrick Cloke4-4/+18
2020-07-17Change "unknown room ver" logging to warning. (#7881)Erik Johnston2-1/+2
It's somewhat expected for us to have unknown room versions in the database due to room version experiments.
2020-07-17Convert device handler to async/await (#7871)Patrick Cloke6-166/+162
2020-07-17Convert synapse.app to async/await. (#7868)Patrick Cloke4-41/+37
2020-07-17Convert _base, profile, and _receipts handlers to async/await (#7860)Patrick Cloke6-59/+53
2020-07-16Add admin endpoint to get members in a room. (#7842)Michael Albert5-1/+107
2020-07-16Consistently use `db_to_json` to convert from database values to JSON ↵Patrick Cloke22-82/+80
objects. (#7849)
2020-07-16Combine nginx federation server blocks (#7823)Luke Faraone1-11/+5
I'm pretty sure there's no technical reason these have to be distinct server blocks, so collapse into one and go with the more terse location block. Signed-off-by: Luke W Faraone <luke@faraone.cc>
2020-07-16Optimise queueing of inbound replication commands (#7861)Richard van der Hoff2-116/+216
When we get behind on replication, we tend to stack up background processes behind a linearizer. Bg processes are heavy (particularly with respect to prometheus metrics) and linearizers aren't terribly efficient once the queue gets long either. A better approach is to maintain a queue of requests to be processed, and nominate a single process to work its way through the queue. Fixes: #7444
2020-07-16Reject attempts to join empty rooms over federation (#7859)Richard van der Hoff2-2/+14
We shouldn't allow others to make_join through us if we've left the room; reject such attempts with a 404. Fixes #7835. Fixes #6958.
2020-07-16Allow moving typing off master (#7869)Erik Johnston10-178/+284
2020-07-16Add ability to run multiple pusher instances (#7855)Erik Johnston9