Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

CouchCocoa with CouchDB/ssl as backend #58

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

elwerene
Copy link

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

  • default heartbeat was way to high for couchdb (was 5 minutes, set back to 30 seconds as couchdb default for timeout is 1 minute)
  • ssl support in socket change tracker
  • multiple changes in a single chunk - support in socket change tracker

…00 instead of 300000), ssl/https support in continous change stream, newline splitting of chunks in continuous change stream, reconnect on error
@snej
Copy link
Contributor

snej commented Nov 30, 2012

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
Copy link
Contributor

snej commented Dec 6, 2012

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
Copy link
Author

elwerene commented Dec 6, 2012

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 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants