> On Feb 2, 2016, at 6:27 PM, Brendan Duddridge <[email protected]> wrote:
> 
> Hi Jens,
> 
> So I was watching your peer-to-peer sync presentation yesterday and I saw you 
> recommended setting the readOnly property on CBLListener. I tried that 
> yesterday and it seemed to prevent the database from being updated from the 
> pull. I thought that the readOnly property would be just for pushes? You 
> mentioned that it prevents someone from pushing a revision to the listener, 
> but shouldn't prevent pulls from other listeners. 

This looks like a bug. From the logs, I think what’s going on is that the 
read-only listener is refusing all POST requests on the assumption that they 
will change the database. But (in 1.2) we use POST to the _changes feed, with 
the same semantics as a GET.

Could you file an issue please?

—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/E96F7DA5-1563-46C9-AE71-D4EDFC351582%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to