Andrew Morgan

Results 126 comments of Andrew Morgan

@MadLittleMods Ah right! I missed that it would be running *after* the txn, and thus after everything below it had run as well. And thanks for pointing out another invalidation...

It does beg the question of whether we should also store outlier status in the proposed `_event_metadata_cache`, instead of the event cache. When we transition an event from outlier to...

@richvdh and I spoke out of band to discuss this. Out of that meeting came a couple simple changes that will resolve https://github.com/matrix-org/synapse/issues/11521: https://github.com/matrix-org/synapse/pull/14161 and https://github.com/matrix-org/synapse/pull/14164. Assuming those merge, that...

If you think of EMS' use case, where you have many homeservers together in a kubernetes cluster, it'd be nice if all of those homeservers could share a single external...

Since https://github.com/matrix-org/synapse/pull/7556, if you receive a 4XX from the remote server, the client will be passed the same status code (i.e. 403) - no longer always a 500. https://github.com/matrix-org/synapse/blob/17d99f758a768b886842cf496ff236fbe3829236/synapse/handlers/federation.py#L366-L382

As alluded to in https://github.com/matrix-org/synapse/issues/6660#issuecomment-738734852 and again mentioned [in #synapse-dev](https://matrix.to/#/!XaqDhxuTIlvldquJaV:matrix.org/$_y4LJ2r13L317NxSK5dN0z9OKNGXPb48_RrpOcTsLx8?via=matrix.org&via=element.io&via=vector.modular.im), @clokep noted that we could define a mountpoint for a directory outside the container which maps into the container's `PYTHONPATH`....

The following index was added to the `cache_invalidation_stream_by_instance` table on matrix.org live: ``` erikj_faster_cache | CREATE INDEX erikj_faster_cache ON matrix.cache_invalidation_stream_by_instance USING btree (instance_name, stream_id) ``` as the following query was...

@ma1uta I can take a look. What do you need exactly? Where is the python code?