Created
August 30, 2016 19:51
-
-
Save adamcfraser/bce1842735e932d5633e88a4eed9e12a to your computer and use it in GitHub Desktop.
SG config with shadowing, webhook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface":":4984", | |
"adminInterface":":4985", | |
"databases": { | |
"sgbucket": { | |
"server": "http://localhost:8091", | |
"bucket": "sgbucket", | |
"shadow": { | |
"server": "http://localhost:8091", | |
"bucket": "sourcebucket" | |
}, | |
"event_handlers": { | |
"max_processes" : 500, | |
"wait_for_process" : "100", | |
"document_changed": [ | |
{ | |
"handler": "webhook", | |
"url": "http://localhost:8081/my_webhook_target", | |
"timeout": 0 | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment