summary refs log tree commit diff
path: root/synapse/app/event_creator.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replaced all occurences of e.message with str(e)Schnuffle2018-09-271-1/+1
| | | | Signed-off-by: Schnuffle <schnuffle@github.com>
* Fix some instances of ExpiringCache not expiring cache itemsErik Johnston2018-09-211-1/+0
| | | | | | | | ExpiringCache required that `start()` be called before it would actually start expiring entries. A number of places didn't do that. This PR removes `start` from ExpiringCache, and automatically starts backround reaping process on creation instead.
* Make sure that we close db connections opened during initRichard van der Hoff2018-08-281-4/+1
| | | | | | | | | We should explicitly close any db connections we open, because failing to do so can block other transactions as per https://github.com/matrix-org/synapse/issues/3682. Let's also try to factor out some of the boilerplate by having server classes define their datastore class rather than duplicating the whole of `setup`.
* Add some fixmesErik Johnston2018-08-171-0/+2
|
* Call UserDirectoryHandler methods directlyErik Johnston2018-08-171-0/+2
| | | | | | | | Turns out that the user directory handling is fairly racey as a bunch of stuff assumes that the processing happens on master, which it doesn't when there is a synapse.app.user_dir worker. So lets just call the function directly until we actually get round to fixing it, since it doesn't make the situation any worse.
* Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-08-171-2/+4
|\ | | | | | | erikj/split_profiles
| * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2018-08-151-0/+2
| |\ | | | | | | | | | erikj/split_federation
| | * Merge remote-tracking branch 'upstream/develop' into ↵Jeroen2018-07-141-3/+6
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | send_sni_for_federation_requests # Conflicts: # synapse/crypto/context_factory.py
| | * | send SNI for federation requestsJeroen2018-06-241-0/+2
| | | |
| * | | Rename slave TransactionStore to SlaveTransactionStoreErik Johnston2018-08-151-2/+2
| | |/ | |/|
* / | Allow profile changes to happen on workersErik Johnston2018-08-071-0/+8
|/ /
* / run isortAmber Brown2018-07-091-3/+6
|/
* The flag is named enable_metrics, not collect_metricsTravis Ralston2018-06-121-1/+1
| | | Signed-off-by: Travis Ralston <travpc@gmail.com>
* Run Prometheus on a different port, optionally. (#3274)Amber Brown2018-05-311-1/+9
|
* Set Server header in SynapseRequestRichard van der Hoff2018-05-101-0/+1
| | | | | | | | | | | | (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.
* 404 correctly on missing paths via NoResourceMatthew Hodgson2018-03-231-2/+2
| | | | fixes https://github.com/matrix-org/synapse/issues/2043 and https://github.com/matrix-org/synapse/issues/2029
* Register membership/state servlets in event_creatorErik Johnston2018-03-141-1/+13
|
* Don't build handlers on workers unnecessarilyErik Johnston2018-03-131-1/+0
|
* Calculate push actions on workerErik Johnston2018-02-281-0/+8
|
* Add event_creator workerErik Johnston2018-02-071-0/+170