medic / cht-sync

Data synchronization between CouchDB and PostgreSQL for the purpose of analytics.
GNU General Public License v3.0
4 stars 5 forks source link

Handle Multiple DBs in Redis worker #86

Closed njuguna-n closed 6 months ago

njuguna-n commented 7 months ago

In order to move fast the current worker hard codes the postgrest URL which means we are only able to replicate the medic database in CouchDB. Refactor the code so that the URL is built using values set by the COUCHDB_DBS environment variable.

andrablaj commented 6 months ago

Closing this issue as Redis will be removed in the future CHT Sync iteration.