summary refs log tree commit diff
path: root/synapse/replication/tcp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-03-06Make the repliation timeout 60s not 25s. github/michaelkaye/matrix_org_hotfixes_increase_replication_timeout michaelkaye/matrix_org_hotfixes_increase_replication_timeoutMichael Kaye1-1/+1
Initial synchrotrons under high load can timeout due to servicing a long initial sync, causing errors and reconnections that are not required. Increase the timeout to prevent this.
2020-02-27Revert "skip send without trailing slash"Richard van der Hoff1-2/+2
I think this was done back when most synapses would reject the no-trailing-slash version; it's no longer required, and makes matrix.org spec-incompliant. This reverts commit fc5be50d561dcf0f069c5b4920faa0dfd3a962e2.
2020-02-26Store room version on invite (#6983)Richard van der Hoff7-2/+78
When we get an invite over federation, store the room version in the rooms table. The general idea here is that, when we pull the invite out again, we'll want to know what room_version it belongs to (so that we can later redact it if need be). So we need to store it somewhere...
2020-02-26Port PresenceHandler to async/await (#6991)Erik Johnston7-115/+113
2020-02-26Updated warning for incorrect database collation/ctype (#6985)Uday Bansal2-3/+8
Signed-off-by: Uday Bansal <43824981+udaybansal19@users.noreply.github.com>
2020-02-26Ensure 'deactivated' parameter is a boolean on user admin API, Fix error ↵Andrew Morgan4-4/+68
handling of call to deactivate user (#6990)
2020-02-25Sanity-check database before running upgrades (#6982)Richard van der Hoff3-17/+33
Some of the database deltas rely on `config.server_name` being set correctly, so we should check that it is before running the deltas. Fixes #6870.
2020-02-25Merge worker apps into one. (#6964)Erik Johnston16-2327/+1052
2020-02-25contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)Fridtjof Mund2-1/+2
I made a mistake in https://github.com/matrix-org/synapse/pull/6921 - the quotes break the postgres container's startup script (or docker-compose), which makes initdb fail: https://github.com/matrix-org/synapse/pull/6921#issuecomment-590657154 Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
2020-02-24Remove redundant store_room call (#6979)Richard van der Hoff2-23/+1
`_process_received_pdu` is only called by `on_receive_pdu`, which ignores any events for unknown rooms, so this is redundant.
2020-02-24Upsert room version when we join over federation (#6968)Richard van der Hoff3-10/+30
This is intended as a precursor to storing room versions when we receive an invite over federation, but has the happy side-effect of fixing #3374 at last. In short: change the store_room with try/except to a proper upsert which updates the right columns.
2020-02-24Fix minor issues with email config (#6962)Richard van der Hoff3-40/+36
* Give `notif_template_html`, `notif_template_text` default values (fixes #6960) * Don't complain if `smtp_host` and `smtp_port` are unset, since they have sensible defaults (fixes #6961) * Set the example for `enable_notifs` to `True`, for consistency and because it's more useful * Raise errors as ConfigError rather than RuntimeError for nicer formatting
2020-02-21No longer use room alias events to calculate room names for push ↵Patrick Cloke2-22/+15
notifications. (#6966)
2020-02-21