Adding unicode decode error handling for mongo. Let's hope I don't regret this. Test with Metafilter feed: 1168

This commit is contained in:
Samuel Clay 2021-03-26 10:43:34 -04:00
parent 8e96ea70d6
commit fc5751da60

View file

@ -651,6 +651,7 @@ MONGO_DB_DEFAULTS = {
'name': 'newsblur',
'host': f'db_mongo:{MONGO_PORT}',
'alias': 'default',
'unicode_decode_error_handler': 'ignore',
'connect': False,
}
MONGO_DB = dict(MONGO_DB_DEFAULTS, **MONGO_DB)