On Jul 11, 2014, at 9:12 AM, Traun Leyden <[email protected]> wrote:

> So the above line should be change to:
>     mode = kOneShot;

After making that change, I was able to simplify the logic for computing 'mode' 
to:

    CBLChangeTrackerMode mode = kOneShot;
    if (_continuous && pollInterval == 0.0 && self.canUseWebSockets)
        mode = kWebSocket;

--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/216CA026-114E-492B-8B7C-1746581E3F86%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to