forked-synapse/synapse/storage/data_stores/main
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
..
schema Add delta file to fix missing default table data (#6555) 2019-12-18 11:13:33 +00:00
__init__.py Fix port db script 2019-12-06 16:41:48 +00:00
account_data.py Merge pull request #6487 from matrix-org/erikj/pass_in_db 2019-12-09 13:53:21 +00:00
appservice.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
cache.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
client_ips.py Add database config class (#6513) 2019-12-18 10:45:12 +00:00
deviceinbox.py Add delta file to fix missing default table data (#6555) 2019-12-18 11:13:33 +00:00
devices.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
directory.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
e2e_room_keys.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
end_to_end_keys.py look up cross-signing keys from the DB in bulk (#6486) 2019-12-12 12:03:28 -05:00
event_federation.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
event_push_actions.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
events_bg_updates.py Drop unused index 2019-12-10 12:46:14 +00:00
events_worker.py Prevent redacted events from appearing in message search (#6377) 2019-12-11 13:39:47 +00:00
events.py Convert _censor_redactions to async since it awaits on coroutines 2019-12-10 12:46:00 +00:00
filtering.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
group_server.py Merge pull request #6484 from matrix-org/erikj/port_sync_handler 2019-12-09 11:32:44 +00:00
keys.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
media_repository.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
monthly_active_users.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
openid.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
presence.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
profile.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
push_rule.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
pusher.py Clean up startup for the pusher (#6558) 2019-12-18 14:26:58 +00:00
receipts.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
registration.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
rejections.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
relations.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
room.py Give the server config to the RoomWorkerStore 2019-12-10 13:05:35 +00:00
roommember.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
search.py Fix redacted events being returned in search results ordered by "recent" (#6522) 2019-12-12 15:53:49 +00:00
signatures.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
state_deltas.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
state.py Prevent message search in upgraded rooms we're not in (#6385) 2019-12-11 13:07:25 +00:00
stats.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
stream.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
tags.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00
transactions.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
user_directory.py Change DataStores to accept 'database' param. 2019-12-06 13:30:06 +00:00
user_erasure_store.py Move DB pool and helper functions into dedicated Database class 2019-12-05 10:46:37 +00:00