anonymousland-synapse/synapse/storage
Richard van der Hoff d6752ce5da
Clean up startup for the pusher (#6558)
* Remove redundant python2 support code

`str.decode()` doesn't exist on python3, so presumably this code was doing
nothing

* Filter out pushers with corrupt data

When we get a row with unparsable json, drop the row, rather than returning a
row with null `data`, which will then cause an explosion later on.

* Improve logging when we can't start a pusher

Log the ID to help us understand the problem

* Make email pusher setup more robust

We know we'll have a `data` member, since that comes from the database. What we
*don't* know is if that is a dict, and if that has a `brand` member, and if
that member is a string.
2019-12-18 14:26:58 +00:00
..
data_stores Clean up startup for the pusher (#6558) 2019-12-18 14:26:58 +00:00
engines Add database config class (#6513) 2019-12-18 10:45:12 +00:00
schema Move schema delta files to the correct data store. 2019-10-24 16:45:03 +01:00
util Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
__init__.py Move are_all_users_on_domain checks to main data store. 2019-12-06 13:43:40 +00:00
_base.py Add database config class (#6513) 2019-12-18 10:45:12 +00:00
background_updates.py Pass Database into the data store 2019-12-06 15:49:44 +00:00
database.py Add database config class (#6513) 2019-12-18 10:45:12 +00:00
keys.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
persist_events.py Merge pull request #6294 from matrix-org/erikj/add_state_storage 2019-10-31 16:17:53 +01:00
prepare_database.py Add database config class (#6513) 2019-12-18 10:45:12 +00:00
presence.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
purge_events.py Change to not require a state_groups.room_id index. 2019-11-04 13:36:57 +00:00
push_rule.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
roommember.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
state.py Apply suggestions from code review 2019-10-31 15:44:31 +01:00