couchbaselabs / CouchCocoa

Objective-C API for CouchDB on iOS and Mac OS
http://couchbaselabs.github.com/CouchCocoa/docs/
218 stars 66 forks source link

CouchCocoa with CouchDB/ssl as backend #58

Open elwerene opened 11 years ago

elwerene commented 11 years ago

Fixed some issues with changes stream (couchdb with ssl and continuous):

snej commented 11 years ago

Thanks! I'll take a look as soon as I can — just got back from vacation today and I've got a pile of stuff to go through.

snej commented 11 years ago

It would be better to merge in the latest TDChangeTracker code from TouchDB. TDChangeTracker was originally forked from CouchChangeTracker but has had a lot more work done to it, since the replicator relies on it, whereas CouchChangeTracker is only used if you connect CouchCocoa to a remote CouchDB server (which is not common.)

elwerene commented 11 years ago

I will check out if it works with CouchDB. But on the first read, the code looks promising. Except the default heartbeat is still 5 times above the default timeout in CouchDB. I guess you are not testing with remote CouchDB servers anymore? Using remote CouchDB servers is very useful for in house realtime applications. Maybe it was never meant to be used for that kind of appliance, but that's how we use it :)