Make Mongo read preference configurable - Small fixes to the Matrix backfilling history script pt. 10
Small fixes to the Matrix backfilling history script pt. 10:
- Make Mongo read preference configurable
Follow-up to !2313 (merged)
Part of #2609 (closed)
Dev notes
set DEBUG=gitter:scripts:*&&set matrix__bridge__applicationServicePort=9001&&node ./scripts/utils/reset-all-matrix-historical-room-bridging.js --concurrency 3
set DEBUG=gitter:scripts:*,gitter:app:matrix-bridge:gitter-to-matrix-historical-import,gitter:scripts-debug:events-imported&&set matrix__bridge__applicationServicePort=9001&&node ./scripts/utils/gitter-to-matrix-historical-import-worker.js --concurrency 3 --uri-deny-pattern "^((_test_)|(_group)|(matrix/)|(gitter-integration-tests(-organisation)?/)|(_Repo-Group/)|(MadLittleMods/import-test1))"
Edited by Eric Eastwood