Thanks for the quick reply. If we have use an another web service which is listen to the webhook, Is there a way to determine that layer's availability right before sync with Couchbase server ? If so, From where I can ping and determine that layer availability before perform the sync.
On Wednesday, February 24, 2016 at 11:34:29 PM UTC+5:30, Jens Alfke wrote: > > > On Feb 23, 2016, at 8:38 PM, Dumidu Madushanka <[email protected] > <javascript:>> wrote: > > What is the mechanism use by Couchbase Lite to identify Couchbase Server > and SyncGateway is working properly before it sends data into the Couchbase > Server ? > > > It doesn’t explicitly test. The replication is done by a series of REST > calls to the server, and if the server isn’t up those will fail. Depending > on the error, the replicator will assume the server’s unavailable. > > —Jens > > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/033c3187-25b9-48d9-b8be-8ca0ad4a97bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
