Skip to content

Instantly share code, notes, and snippets.

@bdionne
Created January 11, 2013 20:44
Show Gist options
  • Save bdionne/4513831 to your computer and use it in GitHub Desktop.
Save bdionne/4513831 to your computer and use it in GitHub Desktop.
replication = {
'source': {
'url': source_uri + db,
'headers': {
'authorization': auth,
'x-cloudant-user': username,
'x-cloudant-io-priority': 'low'
}
},
'target': {
'url': target_uri + db,
'headers': {
'authorization': auth,
'x-cloudant-user': username,
'x-cloudant-io-priority': 'low'
}
},
'continuous': False,
'socket_options': [{'keepalive': True},{'nodelay': True}],
'async': False,
'create_target': True,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment