return db;
}
protected void setupReplication(CouchDbInstance instance, CouchDbConnector db) {
String src_fullurl = getSrcReplicationUrl(true);
ReplicationCommand firstReplication = createSrcReplication(src_fullurl, db.getDatabaseName());
try {
System.out.println(firstReplication.toString());
// on large dbs, this times out
// broken waiting for ektorp to fix!!!
// We need to catch the error, and poll the couch