medic / cht-sync

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

Handle Multiple DBs in Redis worker #86

Closed njuguna-n closed 1 month ago

njuguna-n commented 2 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 1 month ago

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